Skip to content

Commit e88ab88

Browse files
committed
Deploying to gh-pages from @ 10ce74e 🚀
1 parent d47f62d commit e88ab88

File tree

576 files changed

+1628
-1931
lines changed

Some content is hidden

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

576 files changed

+1628
-1931
lines changed

_sources/c-api/arg.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ There are three ways strings and buffers can be converted to C:
160160
``w*`` (read-write :term:`bytes-like object`) [Py_buffer]
161161
This format accepts any object which implements the read-write buffer
162162
interface. It fills a :c:type:`Py_buffer` structure provided by the caller.
163-
The buffer may contain embedded null bytes. The caller have to call
163+
The buffer may contain embedded null bytes. The caller has to call
164164
:c:func:`PyBuffer_Release` when it is done with the buffer.
165165

166166
``es`` (:class:`str`) [const char \*encoding, char \*\*buffer]

_sources/c-api/capsule.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Refer to :ref:`using-capsules` for more information on using these objects.
1515
.. c:type:: PyCapsule
1616
1717
This subtype of :c:type:`PyObject` represents an opaque value, useful for C
18-
extension modules who need to pass an opaque value (as a :c:expr:`void*`
18+
extension modules which need to pass an opaque value (as a :c:expr:`void*`
1919
pointer) through Python code to other C code. It is often used to make a C
2020
function pointer defined in one module available to other modules, so the
2121
regular import mechanism can be used to access C APIs defined in dynamically

_sources/c-api/code.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ may change without deprecation warnings.
289289
290290
.. c:function:: Py_ssize_t PyUnstable_Eval_RequestCodeExtraIndex(freefunc free)
291291
292-
Return a new an opaque index value used to adding data to code objects.
292+
Return a new opaque index value used to adding data to code objects.
293293
294294
You generally call this function once (per interpreter) and use the result
295295
with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate

_sources/c-api/module.rst.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ Module Objects
102102
Return a pointer to the :c:type:`PyModuleDef` struct from which the module was
103103
created, or ``NULL`` if the module wasn't created from a definition.
104104
105+
On error, return ``NULL`` with an exception set.
106+
Use :c:func:`PyErr_Occurred` to tell this case apart from a mising
107+
:c:type:`!PyModuleDef`.
108+
105109
106110
.. c:function:: PyObject* PyModule_GetFilenameObject(PyObject *module)
107111

_sources/library/ast.rst.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,11 @@ Literals
364364
function call).
365365
This has the same meaning as ``FormattedValue.value``.
366366
* ``str`` is a constant containing the text of the interpolation expression.
367+
368+
If ``str`` is set to ``None``, then ``value`` is used to generate code
369+
when calling :func:`ast.unparse`. This no longer guarantees that the
370+
generated code is identical to the original and is intended for code
371+
generation.
367372
* ``conversion`` is an integer:
368373

369374
* -1: no conversion

_sources/library/xmlrpc.client.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ Convenience Functions
524524

525525
.. function:: dumps(params, methodname=None, methodresponse=None, encoding=None, allow_none=False)
526526

527-
Convert *params* into an XML-RPC request. or into a response if *methodresponse*
527+
Convert *params* into an XML-RPC request, or into a response if *methodresponse*
528528
is true. *params* can be either a tuple of arguments or an instance of the
529529
:exc:`Fault` exception class. If *methodresponse* is true, only a single value
530530
can be returned, meaning that *params* must be of length 1. *encoding*, if

about.html

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

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

bugs.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -190,13 +190,9 @@ <h3>導航</h3>
190190
<section id="documentation-bugs">
191191
<h2>說明文件的錯誤<a class="headerlink" href="#documentation-bugs" title="連結到這個標頭"></a></h2>
192192
<p>如果你在這份說明文件中發現了錯誤並想要提出改進方案,請將錯誤報告提交到<a class="reference internal" href="#using-the-tracker"><span class="std std-ref">錯誤追蹤系統 (issue tracker)</span></a>。如果你有相應的修正建議,請一併提交。(譯者註:如果是繁體中文說明文件翻譯相關的錯誤,請提交到 <a class="reference external" href="https://github.com/python/python-docs-zh-tw/issues">https://github.com/python/python-docs-zh-tw/issues</a>。)</p>
193-
<p>If the bug or suggested improvement concerns the translation of this
194-
documentation, submit the report to the
195-
<a class="reference external" href="https://github.com/python/python-docs-zh-tw">translation’s repository</a> instead.</p>
193+
<p>如果錯誤或建議的改進涉及此文件的翻譯,請將報告提交到<a class="reference external" href="https://github.com/python/python-docs-zh-tw">翻譯存儲庫</a></p>
196194
<p>你也可以在我們的<a class="reference external" href="https://discuss.python.org/c/documentation/26">說明文件 Discourse 討論區</a>中新增一個討論事項。</p>
197-
<p>If you find a bug in the theme (HTML / CSS / JavaScript) of the
198-
documentation, please submit a bug report on the <a class="reference external" href="https://github.com/python/python-docs-theme">python-doc-theme issue
199-
tracker</a>.</p>
195+
<p>如果你發現文件主題 (HTML / CSS / JavaScript) 中存在錯誤,請在 <a class="reference external" href="https://github.com/python/python-docs-theme">python-doc-theme 問題追蹤系統</a>上提交錯誤報告。</p>
200196
<div class="admonition seealso">
201197
<p class="admonition-title">也參考</p>
202198
<dl class="simple">
@@ -355,7 +351,7 @@ <h3>導航</h3>
355351
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
356352
<br>
357353
<br>
358-
最後更新於 10月 22, 2025 (17:21 UTC)。
354+
最後更新於 10月 25, 2025 (22:22 UTC)。
359355

360356
<a href="/bugs.html">發現 bug</a>
361357

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
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
324324
<br>
325325
<br>
326-
最後更新於 10月 22, 2025 (17:21 UTC)。
326+
最後更新於 10月 25, 2025 (22:22 UTC)。
327327

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

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
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
433433
<br>
434434
<br>
435-
最後更新於 10月 22, 2025 (17:21 UTC)。
435+
最後更新於 10月 25, 2025 (22:22 UTC)。
436436

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

0 commit comments

Comments
 (0)