Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbc7e570

Browse files
Deploy preview for PR 1148 🛫
1 parent72c766c commitbc7e570

File tree

571 files changed

+588
-580
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

571 files changed

+588
-580
lines changed

‎pr-preview/pr-1148/_sources/library/enum.rst.txt‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ Data Types
315315
Returns ``['__class__', '__doc__', '__module__', 'name', 'value']`` and
316316
any public methods defined on *self.__class__*::
317317

318+
>>> from enum import Enum
318319
>>> from datetime import date
319320
>>> class Weekday(Enum):
320321
... MONDAY = 1
@@ -341,7 +342,7 @@ Data Types
341342
A *staticmethod* that is used to determine the next value returned by
342343
:class:`auto`::
343344

344-
>>> from enum import auto
345+
>>> from enum import auto, Enum
345346
>>> class PowersOfThree(Enum):
346347
... @staticmethod
347348
... def _generate_next_value_(name, start, count, last_values):
@@ -373,7 +374,7 @@ Data Types
373374
A *classmethod* for looking up values not found in *cls*. By default it
374375
does nothing, but can be overridden to implement custom search behavior::
375376

376-
>>> from enum import StrEnum
377+
>>> from enum importauto,StrEnum
377378
>>> class Build(StrEnum):
378379
... DEBUG = auto()
379380
... OPTIMIZED = auto()
@@ -412,6 +413,7 @@ Data Types
412413
Returns the string used for *repr()* calls. By default, returns the
413414
*Enum* name, member name, and value, but can be overridden::
414415

416+
>>> from enum import auto, Enum
415417
>>> class OtherStyle(Enum):
416418
... ALTERNATE = auto()
417419
... OTHER = auto()
@@ -428,6 +430,7 @@ Data Types
428430
Returns the string used for *str()* calls. By default, returns the
429431
*Enum* name and member name, but can be overridden::
430432

433+
>>> from enum import auto, Enum
431434
>>> class OtherStyle(Enum):
432435
... ALTERNATE = auto()
433436
... OTHER = auto()
@@ -443,6 +446,7 @@ Data Types
443446
Returns the string used for *format()* and *f-string* calls. By default,
444447
returns:meth:`__str__` return value, but can be overridden::
445448

449+
>>> from enum import auto, Enum
446450
>>> class OtherStyle(Enum):
447451
... ALTERNATE = auto()
448452
... OTHER = auto()

‎pr-preview/pr-1148/_sources/library/hashlib.rst.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ a file or file-like object.
303303
..versionadded::3.11
304304

305305
..versionchanged::3.14
306-
Now raises a:exc:`BlockingIOError` if the file is opened in blocking
306+
Now raises a:exc:`BlockingIOError` if the file is opened innon-blocking
307307
mode. Previously, spurious null bytes were added to the digest.
308308

309309

‎pr-preview/pr-1148/about.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ <h3>導航</h3>
314314
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
315315
<br>
316316
<br>
317-
最後更新於 10月02, 2025 (00:19 UTC)。
317+
最後更新於 10月03, 2025 (00:18 UTC)。
318318

319319
<ahref="/bugs.html">發現 bug</a>
320320

‎pr-preview/pr-1148/bugs.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ <h3>導航</h3>
352352
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
353353
<br>
354354
<br>
355-
最後更新於 10月02, 2025 (00:19 UTC)。
355+
最後更新於 10月03, 2025 (00:18 UTC)。
356356

357357
<ahref="/bugs.html">發現 bug</a>
358358

‎pr-preview/pr-1148/c-api/abstract.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ <h3>導航</h3>
323323
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
324324
<br>
325325
<br>
326-
最後更新於 10月02, 2025 (00:19 UTC)。
326+
最後更新於 10月03, 2025 (00:18 UTC)。
327327

328328
<ahref="/bugs.html">發現 bug</a>
329329

‎pr-preview/pr-1148/c-api/allocation.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ <h3>導航</h3>
432432
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
433433
<br>
434434
<br>
435-
最後更新於 10月02, 2025 (00:19 UTC)。
435+
最後更新於 10月03, 2025 (00:18 UTC)。
436436

437437
<ahref="/bugs.html">發現 bug</a>
438438

‎pr-preview/pr-1148/c-api/apiabiversion.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ <h3>導航</h3>
471471
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
472472
<br>
473473
<br>
474-
最後更新於 10月02, 2025 (00:19 UTC)。
474+
最後更新於 10月03, 2025 (00:18 UTC)。
475475

476476
<ahref="/bugs.html">發現 bug</a>
477477

‎pr-preview/pr-1148/c-api/arg.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ <h3>導航</h3>
954954
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
955955
<br>
956956
<br>
957-
最後更新於 10月02, 2025 (00:19 UTC)。
957+
最後更新於 10月03, 2025 (00:18 UTC)。
958958

959959
<ahref="/bugs.html">發現 bug</a>
960960

‎pr-preview/pr-1148/c-api/bool.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ <h3>導航</h3>
334334
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
335335
<br>
336336
<br>
337-
最後更新於 10月02, 2025 (00:19 UTC)。
337+
最後更新於 10月03, 2025 (00:18 UTC)。
338338

339339
<ahref="/bugs.html">發現 bug</a>
340340

‎pr-preview/pr-1148/c-api/buffer.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ <h3>導航</h3>
10161016
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
10171017
<br>
10181018
<br>
1019-
最後更新於 10月02, 2025 (00:19 UTC)。
1019+
最後更新於 10月03, 2025 (00:18 UTC)。
10201020

10211021
<ahref="/bugs.html">發現 bug</a>
10221022

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp