Skip to content

Commit ac3deed

Browse files
Deploy preview for PR 1231 🛫
1 parent 6bb2908 commit ac3deed

587 files changed

Lines changed: 658 additions & 629 deletions

File tree

Some content is hidden

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

pr-preview/pr-1231/_sources/library/asyncio-task.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ and reliable way to wait for all tasks in the group to finish.
356356
The signature matches that of :func:`asyncio.create_task`.
357357
If the task group is inactive (e.g. not yet entered,
358358
already finished, or in the process of shutting down),
359-
we will close the given ``coro``.
359+
we will close the given ``coro`` and raise :exc:`RuntimeError`.
360360

361361
.. versionchanged:: 3.13
362362

pr-preview/pr-1231/_sources/library/multiprocessing.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2528,7 +2528,7 @@ with the :class:`Pool` class.
25282528

25292529
.. method:: imap(func, iterable[, chunksize])
25302530

2531-
A lazier version of :meth:`.map`.
2531+
An iterator-based version of :meth:`.map`.
25322532

25332533
The *chunksize* argument is the same as the one used by the :meth:`.map`
25342534
method. For very long iterables using a large value for *chunksize* can

pr-preview/pr-1231/_sources/library/warnings.rst.txt

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -68,45 +68,48 @@ The following warnings category classes are currently defined:
6868
+----------------------------------+-----------------------------------------------+
6969
| Class | Description |
7070
+==================================+===============================================+
71-
| :exc:`Warning` | This is the base class of all warning |
72-
| | category classes. It is a subclass of |
73-
| | :exc:`Exception`. |
71+
| :exc:`Warning` | Base class for warning categories. It is a |
72+
| | subclass of :exc:`Exception`. |
7473
+----------------------------------+-----------------------------------------------+
75-
| :exc:`UserWarning` | The default category for :func:`warn`. |
74+
| :exc:`UserWarning` | Base class for warnings generated by user |
75+
| | code. The default category for :func:`warn`. |
7676
+----------------------------------+-----------------------------------------------+
77-
| :exc:`DeprecationWarning` | Base category for warnings about deprecated |
77+
| :exc:`DeprecationWarning` | Base class for warnings about deprecated |
7878
| | features when those warnings are intended for |
7979
| | other Python developers (ignored by default, |
8080
| | unless triggered by code in ``__main__``). |
8181
+----------------------------------+-----------------------------------------------+
82-
| :exc:`SyntaxWarning` | Base category for warnings about dubious |
83-
| | syntactic features (typically emitted when |
84-
| | compiling Python source code, and hence |
85-
| | may not be suppressed by runtime filters) |
82+
| :exc:`PendingDeprecationWarning` | Base class for warnings about features |
83+
| | that will be deprecated in the future |
84+
| | (ignored by default). |
8685
+----------------------------------+-----------------------------------------------+
87-
| :exc:`RuntimeWarning` | Base category for warnings about dubious |
88-
| | runtime features. |
86+
| :exc:`SyntaxWarning` | Base class for warnings about dubious syntax |
87+
| | (typically emitted when compiling Python |
88+
| | source code, and hence may not be suppressed |
89+
| | by runtime filters). |
8990
+----------------------------------+-----------------------------------------------+
90-
| :exc:`FutureWarning` | Base category for warnings about deprecated |
91+
| :exc:`RuntimeWarning` | Base class for warnings about dubious runtime |
92+
| | behavior. |
93+
+----------------------------------+-----------------------------------------------+
94+
| :exc:`FutureWarning` | Base class for warnings about deprecated |
9195
| | features when those warnings are intended for |
9296
| | end users of applications that are written in |
9397
| | Python. |
9498
+----------------------------------+-----------------------------------------------+
95-
| :exc:`PendingDeprecationWarning` | Base category for warnings about features |
96-
| | that will be deprecated in the future |
97-
| | (ignored by default). |
98-
+----------------------------------+-----------------------------------------------+
99-
| :exc:`ImportWarning` | Base category for warnings triggered during |
99+
| :exc:`ImportWarning` | Base class for warnings triggered during |
100100
| | the process of importing a module (ignored by |
101101
| | default). |
102102
+----------------------------------+-----------------------------------------------+
103-
| :exc:`UnicodeWarning` | Base category for warnings related to |
103+
| :exc:`UnicodeWarning` | Base class for warnings related to |
104104
| | Unicode. |
105105
+----------------------------------+-----------------------------------------------+
106-
| :exc:`BytesWarning` | Base category for warnings related to |
106+
| :exc:`EncodingWarning` | Base class for warnings related to encodings. |
107+
| | See :ref:`io-encoding-warning` for details. |
108+
+----------------------------------+-----------------------------------------------+
109+
| :exc:`BytesWarning` | Base class for warnings related to |
107110
| | :class:`bytes` and :class:`bytearray`. |
108111
+----------------------------------+-----------------------------------------------+
109-
| :exc:`ResourceWarning` | Base category for warnings related to |
112+
| :exc:`ResourceWarning` | Base class for warnings related to |
110113
| | resource usage (ignored by default). |
111114
+----------------------------------+-----------------------------------------------+
112115

pr-preview/pr-1231/about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ <h3>導航</h3>
356356
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
357357
<br>
358358
<br>
359-
最後更新於 9月 11, 2026 (00:26 UTC)。
359+
最後更新於 9月 12, 2026 (00:25 UTC)。
360360

361361
<a href="/bugs.html">發現 bug</a>
362362

pr-preview/pr-1231/bugs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ <h3>導航</h3>
393393
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
394394
<br>
395395
<br>
396-
最後更新於 9月 11, 2026 (00:26 UTC)。
396+
最後更新於 9月 12, 2026 (00:25 UTC)。
397397

398398
<a href="/bugs.html">發現 bug</a>
399399

pr-preview/pr-1231/c-api/abstract.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ <h3>導航</h3>
365365
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
366366
<br>
367367
<br>
368-
最後更新於 9月 11, 2026 (00:26 UTC)。
368+
最後更新於 9月 12, 2026 (00:25 UTC)。
369369

370370
<a href="/bugs.html">發現 bug</a>
371371

pr-preview/pr-1231/c-api/allocation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ <h3>導航</h3>
577577
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
578578
<br>
579579
<br>
580-
最後更新於 9月 11, 2026 (00:26 UTC)。
580+
最後更新於 9月 12, 2026 (00:25 UTC)。
581581

582582
<a href="/bugs.html">發現 bug</a>
583583

pr-preview/pr-1231/c-api/apiabiversion.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ <h3>導航</h3>
514514
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
515515
<br>
516516
<br>
517-
最後更新於 9月 11, 2026 (00:26 UTC)。
517+
最後更新於 9月 12, 2026 (00:25 UTC)。
518518

519519
<a href="/bugs.html">發現 bug</a>
520520

pr-preview/pr-1231/c-api/arg.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ <h3>導航</h3>
10011001
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
10021002
<br>
10031003
<br>
1004-
最後更新於 9月 11, 2026 (00:26 UTC)。
1004+
最後更新於 9月 12, 2026 (00:25 UTC)。
10051005

10061006
<a href="/bugs.html">發現 bug</a>
10071007

pr-preview/pr-1231/c-api/bool.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ <h3>導航</h3>
376376
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
377377
<br>
378378
<br>
379-
最後更新於 9月 11, 2026 (00:26 UTC)。
379+
最後更新於 9月 12, 2026 (00:25 UTC)。
380380

381381
<a href="/bugs.html">發現 bug</a>
382382

0 commit comments

Comments
 (0)