Skip to content

Commit 3a3513d

Browse files
Deploy preview for PR 1231 🛫
1 parent 4df7dcf commit 3a3513d

586 files changed

Lines changed: 13650 additions & 13638 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/subprocess.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ underlying :class:`Popen` interface can be used directly.
239239

240240
.. attribute:: returncode
241241

242-
Exit status of the child process. If the process exited due to a
243-
signal, this will be the negative signal number.
242+
Exit status of the child process, an integer. If the process
243+
exited due to a signal, this will be the negative signal number.
244244

245245
.. attribute:: cmd
246246

pr-preview/pr-1231/_static/glossary.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

pr-preview/pr-1231/_static/pygments_dark.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
2424
.highlight .gd { color: #FF4689 } /* Generic.Deleted */
2525
.highlight .ge { color: #F8F8F2; font-style: italic } /* Generic.Emph */
2626
.highlight .ges { color: #F8F8F2; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
27-
.highlight .gr { color: #F8F8F2 } /* Generic.Error */
27+
.highlight .gr { color: #FF4689 } /* Generic.Error */
2828
.highlight .gh { color: #F8F8F2 } /* Generic.Heading */
2929
.highlight .gi { color: #A6E22E } /* Generic.Inserted */
3030
.highlight .go { color: #66D9EF } /* Generic.Output */
3131
.highlight .gp { color: #FF4689; font-weight: bold } /* Generic.Prompt */
3232
.highlight .gs { color: #F8F8F2; font-weight: bold } /* Generic.Strong */
3333
.highlight .gu { color: #959077 } /* Generic.Subheading */
34-
.highlight .gt { color: #F8F8F2 } /* Generic.Traceback */
34+
.highlight .gt { color: #66D9EF } /* Generic.Traceback */
3535
.highlight .kc { color: #66D9EF } /* Keyword.Constant */
3636
.highlight .kd { color: #66D9EF } /* Keyword.Declaration */
3737
.highlight .kn { color: #FF4689 } /* Keyword.Namespace */
@@ -42,7 +42,7 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
4242
.highlight .m { color: #AE81FF } /* Literal.Number */
4343
.highlight .s { color: #E6DB74 } /* Literal.String */
4444
.highlight .na { color: #A6E22E } /* Name.Attribute */
45-
.highlight .nb { color: #F8F8F2 } /* Name.Builtin */
45+
.highlight .nb { color: #A6E22E } /* Name.Builtin */
4646
.highlight .nc { color: #A6E22E } /* Name.Class */
4747
.highlight .no { color: #66D9EF } /* Name.Constant */
4848
.highlight .nd { color: #A6E22E } /* Name.Decorator */
@@ -76,7 +76,7 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
7676
.highlight .sr { color: #E6DB74 } /* Literal.String.Regex */
7777
.highlight .s1 { color: #E6DB74 } /* Literal.String.Single */
7878
.highlight .ss { color: #E6DB74 } /* Literal.String.Symbol */
79-
.highlight .bp { color: #F8F8F2 } /* Name.Builtin.Pseudo */
79+
.highlight .bp { color: #A6E22E } /* Name.Builtin.Pseudo */
8080
.highlight .fm { color: #A6E22E } /* Name.Function.Magic */
8181
.highlight .vc { color: #F8F8F2 } /* Name.Variable.Class */
8282
.highlight .vg { color: #F8F8F2 } /* Name.Variable.Global */

pr-preview/pr-1231/about.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=234b1a7c" />
1212
<link rel="stylesheet" type="text/css" href="_static/pydoctheme.css?v=4365c8fe" />
13-
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="_static/pygments_dark.css?v=5349f25f" />
13+
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="_static/pygments_dark.css?v=0fc419ee" />
1414

1515
<script src="_static/documentation_options.js?v=a9d878bf"></script>
1616
<script src="_static/doctools.js?v=9bcbadda"></script>
@@ -356,7 +356,7 @@ <h3>導航</h3>
356356
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
357357
<br>
358358
<br>
359-
最後更新於 8月 17, 2026 (00:16 UTC)。
359+
最後更新於 8月 18, 2026 (00:16 UTC)。
360360

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

pr-preview/pr-1231/bugs.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=234b1a7c" />
1212
<link rel="stylesheet" type="text/css" href="_static/pydoctheme.css?v=4365c8fe" />
13-
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="_static/pygments_dark.css?v=5349f25f" />
13+
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="_static/pygments_dark.css?v=0fc419ee" />
1414

1515
<script src="_static/documentation_options.js?v=a9d878bf"></script>
1616
<script src="_static/doctools.js?v=9bcbadda"></script>
@@ -250,7 +250,7 @@ <h2>說明文件的錯誤<a class="headerlink" href="#documentation-bugs" title=
250250
</section>
251251
<section id="getting-started-contributing-to-python-yourself">
252252
<span id="contributing-to-python"></span><h2>開始讓自己貢獻 Python<a class="headerlink" href="#getting-started-contributing-to-python-yourself" title="連結到這個標頭"></a></h2>
253-
<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>
253+
<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>
254254
</section>
255255
</section>
256256

@@ -393,7 +393,7 @@ <h3>導航</h3>
393393
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
394394
<br>
395395
<br>
396-
最後更新於 8月 17, 2026 (00:16 UTC)。
396+
最後更新於 8月 18, 2026 (00:16 UTC)。
397397

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=234b1a7c" />
1212
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=4365c8fe" />
13-
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=5349f25f" />
13+
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=0fc419ee" />
1414

1515
<script src="../_static/documentation_options.js?v=a9d878bf"></script>
1616
<script src="../_static/doctools.js?v=9bcbadda"></script>
@@ -365,7 +365,7 @@ <h3>導航</h3>
365365
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
366366
<br>
367367
<br>
368-
最後更新於 8月 17, 2026 (00:16 UTC)。
368+
最後更新於 8月 18, 2026 (00:16 UTC)。
369369

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=234b1a7c" />
1212
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=4365c8fe" />
13-
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=5349f25f" />
13+
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=0fc419ee" />
1414

1515
<script src="../_static/documentation_options.js?v=a9d878bf"></script>
1616
<script src="../_static/doctools.js?v=9bcbadda"></script>
@@ -577,7 +577,7 @@ <h3>導航</h3>
577577
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
578578
<br>
579579
<br>
580-
最後更新於 8月 17, 2026 (00:16 UTC)。
580+
最後更新於 8月 18, 2026 (00:16 UTC)。
581581

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=234b1a7c" />
1212
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=4365c8fe" />
13-
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=5349f25f" />
13+
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=0fc419ee" />
1414

1515
<script src="../_static/documentation_options.js?v=a9d878bf"></script>
1616
<script src="../_static/doctools.js?v=9bcbadda"></script>
@@ -514,7 +514,7 @@ <h3>導航</h3>
514514
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
515515
<br>
516516
<br>
517-
最後更新於 8月 17, 2026 (00:16 UTC)。
517+
最後更新於 8月 18, 2026 (00:16 UTC)。
518518

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

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=234b1a7c" />
1212
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=4365c8fe" />
13-
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=5349f25f" />
13+
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=0fc419ee" />
1414

1515
<script src="../_static/documentation_options.js?v=a9d878bf"></script>
1616
<script src="../_static/doctools.js?v=9bcbadda"></script>
@@ -644,7 +644,7 @@ <h3>API 函式<a class="headerlink" href="#api-functions" title="連結到這個
644644
<span class="nf">my_function</span><span class="p">(</span><span class="n">PyObject</span><span class="w"> </span><span class="o">*</span><span class="n">module</span><span class="p">,</span><span class="w"> </span><span class="n">PyObject</span><span class="w"> </span><span class="o">*</span><span class="n">arg</span><span class="p">)</span>
645645
<span class="p">{</span>
646646
<span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">value</span><span class="p">;</span>
647-
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="o">!</span><span class="n">PyArg_Parse</span><span class="p">(</span><span class="n">arg</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;i:my_function&quot;</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="n">value</span><span class="p">))</span><span class="w"> </span><span class="p">{</span>
647+
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="o">!</span><span class="n">PyArg_Parse</span><span class="p">(</span><span class="n">arg</span><span class="p">,</span><span class="w"> </span><span class="s">"i:my_function"</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="n">value</span><span class="p">))</span><span class="w"> </span><span class="p">{</span>
648648
<span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="nb">NULL</span><span class="p">;</span>
649649
<span class="w"> </span><span class="p">}</span>
650650
<span class="w"> </span><span class="c1">// ... use value ...</span>
@@ -679,7 +679,7 @@ <h3>API 函式<a class="headerlink" href="#api-functions" title="連結到這個
679679
<span class="w"> </span><span class="n">PyObject</span><span class="w"> </span><span class="o">*</span><span class="n">callback</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nb">NULL</span><span class="p">;</span>
680680
<span class="w"> </span><span class="n">PyObject</span><span class="w"> </span><span class="o">*</span><span class="n">result</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nb">NULL</span><span class="p">;</span>
681681

682-
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">PyArg_UnpackTuple</span><span class="p">(</span><span class="n">args</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;ref&quot;</span><span class="p">,</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w"> </span><span class="mi">2</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="n">object</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="n">callback</span><span class="p">))</span><span class="w"> </span><span class="p">{</span>
682+
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">PyArg_UnpackTuple</span><span class="p">(</span><span class="n">args</span><span class="p">,</span><span class="w"> </span><span class="s">"ref"</span><span class="p">,</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w"> </span><span class="mi">2</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="n">object</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="n">callback</span><span class="p">))</span><span class="w"> </span><span class="p">{</span>
683683
<span class="w"> </span><span class="n">result</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">PyWeakref_NewRef</span><span class="p">(</span><span class="n">object</span><span class="p">,</span><span class="w"> </span><span class="n">callback</span><span class="p">);</span>
684684
<span class="w"> </span><span class="p">}</span>
685685
<span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">result</span><span class="p">;</span>
@@ -688,7 +688,7 @@ <h3>API 函式<a class="headerlink" href="#api-functions" title="連結到這個
688688
</div>
689689
<p>The call to <a class="reference internal" href="#c.PyArg_UnpackTuple" title="PyArg_UnpackTuple"><code class="xref c c-func docutils literal notranslate"><span class="pre">PyArg_UnpackTuple()</span></code></a> in this example is entirely equivalent to
690690
this call to <a class="reference internal" href="#c.PyArg_ParseTuple" title="PyArg_ParseTuple"><code class="xref c c-func docutils literal notranslate"><span class="pre">PyArg_ParseTuple()</span></code></a>:</p>
691-
<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="n">PyArg_ParseTuple</span><span class="p">(</span><span class="n">args</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;O|O:ref&quot;</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="n">object</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="n">callback</span><span class="p">)</span>
691+
<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="n">PyArg_ParseTuple</span><span class="p">(</span><span class="n">args</span><span class="p">,</span><span class="w"> </span><span class="s">"O|O:ref"</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="n">object</span><span class="p">,</span><span class="w"> </span><span class="o">&amp;</span><span class="n">callback</span><span class="p">)</span>
692692
</pre></div>
693693
</div>
694694
</dd></dl>
@@ -1001,7 +1001,7 @@ <h3>導航</h3>
10011001
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
10021002
<br>
10031003
<br>
1004-
最後更新於 8月 17, 2026 (00:16 UTC)。
1004+
最後更新於 8月 18, 2026 (00:16 UTC)。
10051005

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="../_static/classic.css?v=234b1a7c" />
1212
<link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?v=4365c8fe" />
13-
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=5349f25f" />
13+
<link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css?v=0fc419ee" />
1414

1515
<script src="../_static/documentation_options.js?v=a9d878bf"></script>
1616
<script src="../_static/doctools.js?v=9bcbadda"></script>
@@ -376,7 +376,7 @@ <h3>導航</h3>
376376
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
377377
<br>
378378
<br>
379-
最後更新於 8月 17, 2026 (00:16 UTC)。
379+
最後更新於 8月 18, 2026 (00:16 UTC)。
380380

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

0 commit comments

Comments
 (0)