Skip to content

Commit 74ef2bf

Browse files
committed
Deploying to gh-pages from @ 1e9e280 🚀
1 parent e4a90a7 commit 74ef2bf

File tree

533 files changed

+700
-796
lines changed

Some content is hidden

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

533 files changed

+700
-796
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: 6505f3266534c7efd7548e5471a468ac
3+
config: 7a9e03f1aed58fe0ca06aca70b1b09fa
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

_sources/c-api/cell.rst.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ Cell objects are not likely to be useful elsewhere.
3939
4040
.. c:function:: PyObject* PyCell_Get(PyObject *cell)
4141
42-
Return the contents of the cell *cell*.
42+
Return the contents of the cell *cell*, which can be ``NULL``.
43+
If *cell* is not a cell object, returns ``NULL`` with an exception set.
4344
4445
4546
.. c:function:: PyObject* PyCell_GET(PyObject *cell)
@@ -52,8 +53,10 @@ Cell objects are not likely to be useful elsewhere.
5253
5354
Set the contents of the cell object *cell* to *value*. This releases the
5455
reference to any current content of the cell. *value* may be ``NULL``. *cell*
55-
must be non-``NULL``; if it is not a cell object, ``-1`` will be returned. On
56-
success, ``0`` will be returned.
56+
must be non-``NULL``.
57+
58+
On success, return ``0``.
59+
If *cell* is not a cell object, set an exception and return ``-1``.
5760
5861
5962
.. c:function:: void PyCell_SET(PyObject *cell, PyObject *value)

_sources/c-api/slice.rst.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ Slice Objects
2323
Return a new slice object with the given values. The *start*, *stop*, and
2424
*step* parameters are used as the values of the slice object attributes of
2525
the same names. Any of the values may be ``NULL``, in which case the
26-
``None`` will be used for the corresponding attribute. Return ``NULL`` if
26+
``None`` will be used for the corresponding attribute.
27+
28+
Return ``NULL`` with an exception set if
2729
the new object could not be allocated.
2830
2931
@@ -52,7 +54,7 @@ Slice Objects
5254
of bounds indices are clipped in a manner consistent with the handling of
5355
normal slices.
5456
55-
Returns ``0`` on success and ``-1`` on error with exception set.
57+
Return ``0`` on success and ``-1`` on error with an exception set.
5658
5759
.. note::
5860
This function is considered not safe for resizable sequences.
@@ -95,7 +97,7 @@ Slice Objects
9597
``PY_SSIZE_T_MIN`` to ``PY_SSIZE_T_MIN``, and silently boost the step
9698
values less than ``-PY_SSIZE_T_MAX`` to ``-PY_SSIZE_T_MAX``.
9799
98-
Return ``-1`` on error, ``0`` on success.
100+
Return ``-1`` with an exception set on error, ``0`` on success.
99101
100102
.. versionadded:: 3.6.1
101103

_sources/library/asyncio-eventloop.rst.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,9 @@ Executing code in thread or process pools
12461246

12471247
The *executor* argument should be an :class:`concurrent.futures.Executor`
12481248
instance. The default executor is used if *executor* is ``None``.
1249+
The default executor can be set by :meth:`loop.set_default_executor`,
1250+
otherwise, a :class:`concurrent.futures.ThreadPoolExecutor` will be
1251+
lazy-initialized and used by :func:`run_in_executor` if needed.
12491252

12501253
Example::
12511254

about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ <h3>瀏覽</h3>
319319
<a href="https://www.python.org/psf/donations/">Please donate.</a>
320320
<br />
321321
<br />
322-
最後更新於 Jul 09, 2024 (06:56 UTC)。
322+
最後更新於 Jul 11, 2024 (06:27 UTC)。
323323

324324
<a href="/bugs.html">Found a bug</a>?
325325

bugs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ <h2>說明文件的錯誤<a class="headerlink" href="#documentation-bugs" title=
230230
</section>
231231
<section id="getting-started-contributing-to-python-yourself">
232232
<span id="contributing-to-python"></span><h2>開始讓自己貢獻 Python<a class="headerlink" href="#getting-started-contributing-to-python-yourself" title="連結到這個標頭"></a></h2>
233-
<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>
233+
<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>
234234
</section>
235235
</section>
236236

@@ -358,7 +358,7 @@ <h3>瀏覽</h3>
358358
<a href="https://www.python.org/psf/donations/">Please donate.</a>
359359
<br />
360360
<br />
361-
最後更新於 Jul 09, 2024 (06:56 UTC)。
361+
最後更新於 Jul 11, 2024 (06:27 UTC)。
362362

363363
<a href="/bugs.html">Found a bug</a>?
364364

c-api/abstract.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ <h3>瀏覽</h3>
329329
<a href="https://www.python.org/psf/donations/">Please donate.</a>
330330
<br />
331331
<br />
332-
最後更新於 Jul 09, 2024 (06:56 UTC)。
332+
最後更新於 Jul 11, 2024 (06:27 UTC)。
333333

334334
<a href="/bugs.html">Found a bug</a>?
335335

c-api/allocation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ <h3>瀏覽</h3>
343343
<a href="https://www.python.org/psf/donations/">Please donate.</a>
344344
<br />
345345
<br />
346-
最後更新於 Jul 09, 2024 (06:56 UTC)。
346+
最後更新於 Jul 11, 2024 (06:27 UTC)。
347347

348348
<a href="/bugs.html">Found a bug</a>?
349349

c-api/apiabiversion.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ <h3>瀏覽</h3>
375375
<a href="https://www.python.org/psf/donations/">Please donate.</a>
376376
<br />
377377
<br />
378-
最後更新於 Jul 09, 2024 (06:56 UTC)。
378+
最後更新於 Jul 11, 2024 (06:27 UTC)。
379379

380380
<a href="/bugs.html">Found a bug</a>?
381381

c-api/arg.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ <h3>瀏覽</h3>
886886
<a href="https://www.python.org/psf/donations/">Please donate.</a>
887887
<br />
888888
<br />
889-
最後更新於 Jul 09, 2024 (06:56 UTC)。
889+
最後更新於 Jul 11, 2024 (06:27 UTC)。
890890

891891
<a href="/bugs.html">Found a bug</a>?
892892

0 commit comments

Comments
 (0)