Skip to content

Commit ef82f0c

Browse files
committed
Deploying to gh-pages from @ 4de0f94 🚀
1 parent 1e0a540 commit ef82f0c

File tree

532 files changed

+693
-749
lines changed

Some content is hidden

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

532 files changed

+693
-749
lines changed

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 6bbeb64755df13e450f459085b97e0c7
3+
config: 17afa962cc865e7d4a9962cb80713add
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

_sources/library/codecs.rst.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,13 +1542,13 @@ This module implements the ANSI codepage (CP_ACP).
15421542

15431543
.. availability:: Windows.
15441544

1545-
.. versionchanged:: 3.3
1546-
Support any error handler.
1547-
15481545
.. versionchanged:: 3.2
15491546
Before 3.2, the *errors* argument was ignored; ``'replace'`` was always used
15501547
to encode, and ``'ignore'`` to decode.
15511548

1549+
.. versionchanged:: 3.3
1550+
Support any error handler.
1551+
15521552

15531553
:mod:`encodings.utf_8_sig` --- UTF-8 codec with BOM signature
15541554
-------------------------------------------------------------

_sources/library/math.rst.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,11 @@ Number-theoretic and representation functions
239239

240240
See also :func:`math.ulp`.
241241

242+
.. versionadded:: 3.9
243+
242244
.. versionchanged:: 3.12
243245
Added the *steps* argument.
244246

245-
.. versionadded:: 3.9
246-
247247
.. function:: perm(n, k=None)
248248

249249
Return the number of ways to choose *k* items from *n* items
@@ -680,11 +680,11 @@ Constants
680680
>>> math.isnan(float('nan'))
681681
True
682682

683+
.. versionadded:: 3.5
684+
683685
.. versionchanged:: 3.11
684686
It is now always available.
685687

686-
.. versionadded:: 3.5
687-
688688

689689
.. impl-detail::
690690

_sources/library/multiprocessing.rst.txt

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -150,18 +150,18 @@ to start a process. These *start methods* are
150150
over Unix pipes such as Linux.
151151

152152

153-
.. versionchanged:: 3.8
154-
155-
On macOS, the *spawn* start method is now the default. The *fork* start
156-
method should be considered unsafe as it can lead to crashes of the
157-
subprocess as macOS system libraries may start threads. See :issue:`33725`.
158-
159153
.. versionchanged:: 3.4
160154
*spawn* added on all POSIX platforms, and *forkserver* added for
161155
some POSIX platforms.
162156
Child processes no longer inherit all of the parents inheritable
163157
handles on Windows.
164158

159+
.. versionchanged:: 3.8
160+
161+
On macOS, the *spawn* start method is now the default. The *fork* start
162+
method should be considered unsafe as it can lead to crashes of the
163+
subprocess as macOS system libraries may start threads. See :issue:`33725`.
164+
165165
On POSIX using the *spawn* or *forkserver* start methods will also
166166
start a *resource tracker* process which tracks the unlinked named
167167
system resources (such as named semaphores or
@@ -519,7 +519,7 @@ The :mod:`multiprocessing` package mostly replicates the API of the
519519
to the process.
520520

521521
.. versionchanged:: 3.3
522-
Added the *daemon* argument.
522+
Added the *daemon* parameter.
523523

524524
.. method:: run()
525525

@@ -1077,13 +1077,13 @@ Miscellaneous
10771077
The return value can be ``'fork'``, ``'spawn'``, ``'forkserver'``
10781078
or ``None``. See :ref:`multiprocessing-start-methods`.
10791079

1080-
.. versionchanged:: 3.8
1080+
.. versionadded:: 3.4
10811081

1082-
On macOS, the *spawn* start method is now the default. The *fork* start
1083-
method should be considered unsafe as it can lead to crashes of the
1084-
subprocess. See :issue:`33725`.
1082+
.. versionchanged:: 3.8
10851083

1086-
.. versionadded:: 3.4
1084+
On macOS, the *spawn* start method is now the default. The *fork* start
1085+
method should be considered unsafe as it can lead to crashes of the
1086+
subprocess. See :issue:`33725`.
10871087

10881088
.. function:: set_executable(executable)
10891089

@@ -1238,8 +1238,7 @@ Connection objects are usually created using
12381238
Connection objects themselves can now be transferred between processes
12391239
using :meth:`Connection.send` and :meth:`Connection.recv`.
12401240

1241-
.. versionadded:: 3.3
1242-
Connection objects now support the context management protocol -- see
1241+
Connection objects also now support the context management protocol -- see
12431242
:ref:`typecontextmanager`. :meth:`~contextmanager.__enter__` returns the
12441243
connection object, and :meth:`~contextmanager.__exit__` calls :meth:`close`.
12451244

@@ -2243,11 +2242,11 @@ with the :class:`Pool` class.
22432242
as CPython does not assure that the finalizer of the pool will be called
22442243
(see :meth:`object.__del__` for more information).
22452244

2246-
.. versionadded:: 3.2
2247-
*maxtasksperchild*
2245+
.. versionchanged:: 3.2
2246+
Added the *maxtasksperchild* parameter.
22482247

2249-
.. versionadded:: 3.4
2250-
*context*
2248+
.. versionchanged:: 3.4
2249+
Added the *context* parameter.
22512250

22522251
.. note::
22532252

@@ -2369,7 +2368,7 @@ with the :class:`Pool` class.
23692368
Wait for the worker processes to exit. One must call :meth:`close` or
23702369
:meth:`terminate` before using :meth:`join`.
23712370

2372-
.. versionadded:: 3.3
2371+
.. versionchanged:: 3.3
23732372
Pool objects now support the context management protocol -- see
23742373
:ref:`typecontextmanager`. :meth:`~contextmanager.__enter__` returns the
23752374
pool object, and :meth:`~contextmanager.__exit__` calls :meth:`terminate`.
@@ -2538,7 +2537,7 @@ multiple connections at the same time.
25382537
The address from which the last accepted connection came. If this is
25392538
unavailable then it is ``None``.
25402539

2541-
.. versionadded:: 3.3
2540+
.. versionchanged:: 3.3
25422541
Listener objects now support the context management protocol -- see
25432542
:ref:`typecontextmanager`. :meth:`~contextmanager.__enter__` returns the
25442543
listener object, and :meth:`~contextmanager.__exit__` calls :meth:`close`.
@@ -2969,7 +2968,7 @@ Beware of replacing :data:`sys.stdin` with a "file like object"
29692968
The *spawn* and *forkserver* start methods
29702969
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
29712970

2972-
There are a few extra restriction which don't apply to the *fork*
2971+
There are a few extra restrictions which don't apply to the *fork*
29732972
start method.
29742973

29752974
More picklability

_sources/library/shutil.rst.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,16 +274,16 @@ Directory and files operations
274274

275275
.. audit-event:: shutil.copytree src,dst shutil.copytree
276276

277-
.. versionchanged:: 3.3
278-
Copy metadata when *symlinks* is false.
279-
Now returns *dst*.
280-
281277
.. versionchanged:: 3.2
282278
Added the *copy_function* argument to be able to provide a custom copy
283279
function.
284280
Added the *ignore_dangling_symlinks* argument to silence dangling symlinks
285281
errors when *symlinks* is false.
286282

283+
.. versionchanged:: 3.3
284+
Copy metadata when *symlinks* is false.
285+
Now returns *dst*.
286+
287287
.. versionchanged:: 3.8
288288
Platform-specific fast-copy syscalls may be used internally in order to
289289
copy the file more efficiently. See

_sources/library/sys.rst.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ always available.
1616
On POSIX systems where Python was built with the standard ``configure``
1717
script, this contains the ABI flags as specified by :pep:`3149`.
1818

19+
.. versionadded:: 3.2
20+
1921
.. versionchanged:: 3.8
2022
Default flags became an empty string (``m`` flag for pymalloc has been
2123
removed).
2224

23-
.. versionadded:: 3.2
25+
.. availability:: Unix.
2426

2527

2628
.. function:: addaudithook(hook)

_sources/library/venv.rst.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,15 +276,15 @@ creation according to their needs, the :class:`EnvBuilder` class.
276276
the virtual environment.
277277

278278

279-
.. versionchanged:: 3.12
280-
The attribute ``lib_path`` was added to the context, and the context
281-
object was documented.
282-
283279
.. versionchanged:: 3.11
284280
The *venv*
285281
:ref:`sysconfig installation scheme <installation_paths>`
286282
is used to construct the paths of the created directories.
287283

284+
.. versionchanged:: 3.12
285+
The attribute ``lib_path`` was added to the context, and the context
286+
object was documented.
287+
288288
.. method:: create_configuration(context)
289289

290290
Creates the ``pyvenv.cfg`` configuration file in the environment.

about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ <h3>瀏覽</h3>
309309
<br />
310310
<br />
311311

312-
最後更新於 Feb 19, 2024 (11:09 UTC)。
312+
最後更新於 Feb 19, 2024 (19:54 UTC)。
313313
<a href="/bugs.html">Found a bug</a>?
314314
<br />
315315

bugs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ <h2>說明文件的錯誤<a class="headerlink" href="#documentation-bugs" title=
224224
</section>
225225
<section id="getting-started-contributing-to-python-yourself">
226226
<span id="contributing-to-python"></span><h2>開始讓自己貢獻 Python<a class="headerlink" href="#getting-started-contributing-to-python-yourself" title="Link to this heading"></a></h2>
227-
<p>除了只是回報您所發現的錯誤之外,同樣也歡迎您提交修正它們的修補程式 (patch)。您可以在 <a class="reference external" href="https://devguide.python.org/">Python 開發者指南</a>中找到如何開始修補 Python 的更多資訊。如果您有任何問題,<a class="reference external" href="https://mail.python.org/mailman3/lists/core-mentorship.python.org/">核心導師郵寄清單</a>是一個友善的地方,您可以在那裡得到,關於 Python 修正錯誤的過程中,所有問題的答案。</p>
227+
<p>除了只是回報您所發現的錯誤之外,同樣也歡迎您提交修正它們的修補程式 (patch)。您可以在 <a class="reference external" href="https://mail.python.org/mailman3/lists/core-mentorship.python.org/">Python 開發者指南</a>中找到如何開始修補 Python 的更多資訊。如果您有任何問題,<a class="reference external" href="https://devguide.python.org/">核心導師郵寄清單</a>是一個友善的地方,您可以在那裡得到,關於 Python 修正錯誤的過程中,所有問題的答案。</p>
228228
</section>
229229
</section>
230230

@@ -345,7 +345,7 @@ <h3>瀏覽</h3>
345345
<br />
346346
<br />
347347

348-
最後更新於 Feb 19, 2024 (11:09 UTC)。
348+
最後更新於 Feb 19, 2024 (19:54 UTC)。
349349
<a href="/bugs.html">Found a bug</a>?
350350
<br />
351351

c-api/abstract.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ <h3>瀏覽</h3>
319319
<br />
320320
<br />
321321

322-
最後更新於 Feb 19, 2024 (11:09 UTC)。
322+
最後更新於 Feb 19, 2024 (19:54 UTC)。
323323
<a href="/bugs.html">Found a bug</a>?
324324
<br />
325325

0 commit comments

Comments
 (0)