Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1503bee

Browse files
committed
Deploying to gh-pages from @ 6ce1539 🚀
1 parent 59ad2c8 commit 1503bee

File tree

553 files changed

+2235
-2744
lines changed

Some content is hidden

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

553 files changed

+2235
-2744
lines changed

_static/glossary.json

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

about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ <h3>瀏覽</h3>
320320
<a href="https://www.python.org/psf/donations/">Please donate.</a>
321321
<br>
322322
<br>
323-
最後更新於 5月 04, 2025 (06:45 UTC)。
323+
最後更新於 5月 04, 2025 (08:31 UTC)。
324324

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

bugs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ <h3>瀏覽</h3>
359359
<a href="https://www.python.org/psf/donations/">Please donate.</a>
360360
<br>
361361
<br>
362-
最後更新於 5月 04, 2025 (06:45 UTC)。
362+
最後更新於 5月 04, 2025 (08:31 UTC)。
363363

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

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-
最後更新於 5月 04, 2025 (06:45 UTC)。
332+
最後更新於 5月 04, 2025 (08:31 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
@@ -350,7 +350,7 @@ <h3>瀏覽</h3>
350350
<a href="https://www.python.org/psf/donations/">Please donate.</a>
351351
<br>
352352
<br>
353-
最後更新於 5月 04, 2025 (06:45 UTC)。
353+
最後更新於 5月 04, 2025 (08:31 UTC)。
354354

355355
<a href="/bugs.html">Found a bug</a>?
356356

c-api/apiabiversion.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/">Please donate.</a>
377377
<br>
378378
<br>
379-
最後更新於 5月 04, 2025 (06:45 UTC)。
379+
最後更新於 5月 04, 2025 (08:31 UTC)。
380380

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

c-api/arg.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ <h3>瀏覽</h3>
931931
<a href="https://www.python.org/psf/donations/">Please donate.</a>
932932
<br>
933933
<br>
934-
最後更新於 5月 04, 2025 (06:45 UTC)。
934+
最後更新於 5月 04, 2025 (08:31 UTC)。
935935

936936
<a href="/bugs.html">Found a bug</a>?
937937

c-api/bool.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ <h3>瀏覽</h3>
341341
<a href="https://www.python.org/psf/donations/">Please donate.</a>
342342
<br>
343343
<br>
344-
最後更新於 5月 04, 2025 (06:45 UTC)。
344+
最後更新於 5月 04, 2025 (08:31 UTC)。
345345

346346
<a href="/bugs.html">Found a bug</a>?
347347

c-api/buffer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ <h3>瀏覽</h3>
10221022
<a href="https://www.python.org/psf/donations/">Please donate.</a>
10231023
<br>
10241024
<br>
1025-
最後更新於 5月 04, 2025 (06:45 UTC)。
1025+
最後更新於 5月 04, 2025 (08:31 UTC)。
10261026

10271027
<a href="/bugs.html">Found a bug</a>?
10281028

c-api/bytearray.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ <h3>瀏覽</h3>
400400
<a href="https://www.python.org/psf/donations/">Please donate.</a>
401401
<br>
402402
<br>
403-
最後更新於 5月 04, 2025 (06:45 UTC)。
403+
最後更新於 5月 04, 2025 (08:31 UTC)。
404404

405405
<a href="/bugs.html">Found a bug</a>?
406406

c-api/bytes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ <h3>瀏覽</h3>
521521
<a href="https://www.python.org/psf/donations/">Please donate.</a>
522522
<br>
523523
<br>
524-
最後更新於 5月 04, 2025 (06:45 UTC)。
524+
最後更新於 5月 04, 2025 (08:31 UTC)。
525525

526526
<a href="/bugs.html">Found a bug</a>?
527527

c-api/call.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ <h3>瀏覽</h3>
652652
<a href="https://www.python.org/psf/donations/">Please donate.</a>
653653
<br>
654654
<br>
655-
最後更新於 5月 04, 2025 (06:45 UTC)。
655+
最後更新於 5月 04, 2025 (08:31 UTC)。
656656

657657
<a href="/bugs.html">Found a bug</a>?
658658

c-api/capsule.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ <h3>瀏覽</h3>
441441
<a href="https://www.python.org/psf/donations/">Please donate.</a>
442442
<br>
443443
<br>
444-
最後更新於 5月 04, 2025 (06:45 UTC)。
444+
最後更新於 5月 04, 2025 (08:31 UTC)。
445445

446446
<a href="/bugs.html">Found a bug</a>?
447447

c-api/cell.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ <h3>瀏覽</h3>
341341
<a href="https://www.python.org/psf/donations/">Please donate.</a>
342342
<br>
343343
<br>
344-
最後更新於 5月 04, 2025 (06:45 UTC)。
344+
最後更新於 5月 04, 2025 (08:31 UTC)。
345345

346346
<a href="/bugs.html">Found a bug</a>?
347347

c-api/code.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ <h3>瀏覽</h3>
606606
<a href="https://www.python.org/psf/donations/">Please donate.</a>
607607
<br>
608608
<br>
609-
最後更新於 5月 04, 2025 (06:45 UTC)。
609+
最後更新於 5月 04, 2025 (08:31 UTC)。
610610

611611
<a href="/bugs.html">Found a bug</a>?
612612

c-api/codec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ <h3>瀏覽</h3>
445445
<a href="https://www.python.org/psf/donations/">Please donate.</a>
446446
<br>
447447
<br>
448-
最後更新於 5月 04, 2025 (06:45 UTC)。
448+
最後更新於 5月 04, 2025 (08:31 UTC)。
449449

450450
<a href="/bugs.html">Found a bug</a>?
451451

c-api/complex.html

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,7 @@ <h2>作為 Python 物件的複數<a class="headerlink" href="#complex-numbers-as
291291
<dt class="sig sig-object c" id="c.PyComplex_RealAsDouble">
292292
<span class="kt"><span class="pre">double</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">PyComplex_RealAsDouble</span></span></span><span class="sig-paren">(</span><a class="reference internal" href="structures.html#c.PyObject" title="PyObject"><span class="n"><span class="pre">PyObject</span></span></a><span class="w"> </span><span class="p"><span class="pre">*</span></span><span class="n"><span class="pre">op</span></span><span class="sig-paren">)</span><a class="headerlink" href="#c.PyComplex_RealAsDouble" title="連結到這個定義"></a><br /></dt>
293293
<dd><em class="stableabi"><a class="reference internal" href="stable.html#stable"><span class="std std-ref">穩定 ABI 的一部分</span></a>.</em><p>以 C 的 <span class="c-expr sig sig-inline c"><span class="kt">double</span></span> 形式回傳 <em>op</em> 的實部。</p>
294-
<p>If <em>op</em> is not a Python complex number object but has a
295-
<a class="reference internal" href="../reference/datamodel.html#object.__complex__" title="object.__complex__"><code class="xref py py-meth docutils literal notranslate"><span class="pre">__complex__()</span></code></a> method, this method will first be called to
296-
convert <em>op</em> to a Python complex number object. If <code class="xref py py-meth docutils literal notranslate"><span class="pre">__complex__()</span></code> is
297-
not defined then it falls back to call <a class="reference internal" href="float.html#c.PyFloat_AsDouble" title="PyFloat_AsDouble"><code class="xref c c-func docutils literal notranslate"><span class="pre">PyFloat_AsDouble()</span></code></a> and
298-
returns its result.</p>
294+
<p>如果 <em>op</em> 不是 Python 複數物件,但有一個 <a class="reference internal" href="../reference/datamodel.html#object.__complex__" title="object.__complex__"><code class="xref py py-meth docutils literal notranslate"><span class="pre">__complex__()</span></code></a> 方法,則首先會呼叫該方法將 <em>op</em> 轉換為 Python 複數物件。如果 <code class="xref py py-meth docutils literal notranslate"><span class="pre">__complex__()</span></code> 並未定義,那麼它會回退到呼叫 <code class="xref py py-func docutils literal notranslate"><span class="pre">PyFloat_AsDouble()</span></code> 並回傳其結果。</p>
299295
<p>失敗時,此方法回傳 <code class="docutils literal notranslate"><span class="pre">-1.0</span></code> 並設定例外,因此應該呼叫 <a class="reference internal" href="exceptions.html#c.PyErr_Occurred" title="PyErr_Occurred"><code class="xref c c-func docutils literal notranslate"><span class="pre">PyErr_Occurred()</span></code></a> 來檢查錯誤。</p>
300296
<div class="versionchanged">
301297
<p><span class="versionmodified changed">在 3.13 版的變更: </span>如果可用則使用 <a class="reference internal" href="../reference/datamodel.html#object.__complex__" title="object.__complex__"><code class="xref py py-meth docutils literal notranslate"><span class="pre">__complex__()</span></code></a></p>
@@ -306,11 +302,7 @@ <h2>作為 Python 物件的複數<a class="headerlink" href="#complex-numbers-as
306302
<dt class="sig sig-object c" id="c.PyComplex_ImagAsDouble">
307303
<span class="kt"><span class="pre">double</span></span><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">PyComplex_ImagAsDouble</span></span></span><span class="sig-paren">(</span><a class="reference internal" href="structures.html#c.PyObject" title="PyObject"><span class="n"><span class="pre">PyObject</span></span></a><span class="w"> </span><span class="p"><span class="pre">*</span></span><span class="n"><span class="pre">op</span></span><span class="sig-paren">)</span><a class="headerlink" href="#c.PyComplex_ImagAsDouble" title="連結到這個定義"></a><br /></dt>
308304
<dd><em class="stableabi"><a class="reference internal" href="stable.html#stable"><span class="std std-ref">穩定 ABI 的一部分</span></a>.</em><p><em>op</em> 的虛部作為 C 的 <span class="c-expr sig sig-inline c"><span class="kt">double</span></span> 回傳。</p>
309-
<p>If <em>op</em> is not a Python complex number object but has a
310-
<a class="reference internal" href="../reference/datamodel.html#object.__complex__" title="object.__complex__"><code class="xref py py-meth docutils literal notranslate"><span class="pre">__complex__()</span></code></a> method, this method will first be called to
311-
convert <em>op</em> to a Python complex number object. If <code class="xref py py-meth docutils literal notranslate"><span class="pre">__complex__()</span></code> is
312-
not defined then it falls back to call <a class="reference internal" href="float.html#c.PyFloat_AsDouble" title="PyFloat_AsDouble"><code class="xref c c-func docutils literal notranslate"><span class="pre">PyFloat_AsDouble()</span></code></a> and
313-
returns <code class="docutils literal notranslate"><span class="pre">0.0</span></code> on success.</p>
305+
<p>如果 <em>op</em> 不是 Python 複數物件,但有一個 <a class="reference internal" href="../reference/datamodel.html#object.__complex__" title="object.__complex__"><code class="xref py py-meth docutils literal notranslate"><span class="pre">__complex__()</span></code></a> 方法,則首先會呼叫該方法將 <em>op</em> 轉換為 Python 複數物件。如果 <code class="xref py py-meth docutils literal notranslate"><span class="pre">__complex__()</span></code> 並未定義,那麼它會回退到呼叫 <code class="xref py py-func docutils literal notranslate"><span class="pre">PyFloat_AsDouble()</span></code> 並於成功時回傳 <code class="docutils literal notranslate"><span class="pre">0.0</span></code></p>
314306
<p>失敗時,此方法回傳 <code class="docutils literal notranslate"><span class="pre">-1.0</span></code> 並設定例外,因此應該呼叫 <a class="reference internal" href="exceptions.html#c.PyErr_Occurred" title="PyErr_Occurred"><code class="xref c c-func docutils literal notranslate"><span class="pre">PyErr_Occurred()</span></code></a> 來檢查錯誤。</p>
315307
<div class="versionchanged">
316308
<p><span class="versionmodified changed">在 3.13 版的變更: </span>如果可用則使用 <a class="reference internal" href="../reference/datamodel.html#object.__complex__" title="object.__complex__"><code class="xref py py-meth docutils literal notranslate"><span class="pre">__complex__()</span></code></a></p>
@@ -456,7 +448,7 @@ <h3>瀏覽</h3>
456448
<a href="https://www.python.org/psf/donations/">Please donate.</a>
457449
<br>
458450
<br>
459-
最後更新於 5月 04, 2025 (06:45 UTC)。
451+
最後更新於 5月 04, 2025 (08:31 UTC)。
460452

461453
<a href="/bugs.html">Found a bug</a>?
462454

c-api/concrete.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ <h3>瀏覽</h3>
243243
</li>
244244
<li class="toctree-l1"><a class="reference internal" href="unicode.html">Unicode 物件與編解碼器</a><ul>
245245
<li class="toctree-l2"><a class="reference internal" href="unicode.html#unicode-objects">Unicode 物件</a><ul>
246-
<li class="toctree-l3"><a class="reference internal" href="unicode.html#unicode-type">Unicode Type</a></li>
246+
<li class="toctree-l3"><a class="reference internal" href="unicode.html#unicode-type">Unicode 型別</a></li>
247247
<li class="toctree-l3"><a class="reference internal" href="unicode.html#unicode-character-properties">Unicode Character Properties</a></li>
248248
<li class="toctree-l3"><a class="reference internal" href="unicode.html#creating-and-accessing-unicode-strings">Creating and accessing Unicode strings</a></li>
249249
<li class="toctree-l3"><a class="reference internal" href="unicode.html#locale-encoding">Locale Encoding</a></li>
@@ -316,7 +316,7 @@ <h2>其他物件<a class="headerlink" href="#other-objects" title="連結到這
316316
<li class="toctree-l1"><a class="reference internal" href="iterator.html">疊代器(Iterator)物件</a></li>
317317
<li class="toctree-l1"><a class="reference internal" href="descriptor.html">Descriptor(描述器)物件</a></li>
318318
<li class="toctree-l1"><a class="reference internal" href="slice.html">切片物件</a><ul>
319-
<li class="toctree-l2"><a class="reference internal" href="slice.html#ellipsis-object">Ellipsis Object</a></li>
319+
<li class="toctree-l2"><a class="reference internal" href="slice.html#ellipsis-object">Ellipsis 物件</a></li>
320320
</ul>
321321
</li>
322322
<li class="toctree-l1"><a class="reference internal" href="memoryview.html">MemoryView 物件</a></li>
@@ -465,7 +465,7 @@ <h3>瀏覽</h3>
465465
<a href="https://www.python.org/psf/donations/">Please donate.</a>
466466
<br>
467467
<br>
468-
最後更新於 5月 04, 2025 (06:45 UTC)。
468+
最後更新於 5月 04, 2025 (08:31 UTC)。
469469

470470
<a href="/bugs.html">Found a bug</a>?
471471

c-api/contextvars.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ <h3>瀏覽</h3>
451451
<a href="https://www.python.org/psf/donations/">Please donate.</a>
452452
<br>
453453
<br>
454-
最後更新於 5月 04, 2025 (06:45 UTC)。
454+
最後更新於 5月 04, 2025 (08:31 UTC)。
455455

456456
<a href="/bugs.html">Found a bug</a>?
457457

c-api/conversion.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ <h3>瀏覽</h3>
390390
<a href="https://www.python.org/psf/donations/">Please donate.</a>
391391
<br>
392392
<br>
393-
最後更新於 5月 04, 2025 (06:45 UTC)。
393+
最後更新於 5月 04, 2025 (08:31 UTC)。
394394

395395
<a href="/bugs.html">Found a bug</a>?
396396

c-api/coro.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-
最後更新於 5月 04, 2025 (06:45 UTC)。
322+
最後更新於 5月 04, 2025 (08:31 UTC)。
323323

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

c-api/datetime.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ <h3>瀏覽</h3>
630630
<a href="https://www.python.org/psf/donations/">Please donate.</a>
631631
<br>
632632
<br>
633-
最後更新於 5月 04, 2025 (06:45 UTC)。
633+
最後更新於 5月 04, 2025 (08:31 UTC)。
634634

635635
<a href="/bugs.html">Found a bug</a>?
636636

c-api/descriptor.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ <h3>瀏覽</h3>
334334
<a href="https://www.python.org/psf/donations/">Please donate.</a>
335335
<br>
336336
<br>
337-
最後更新於 5月 04, 2025 (06:45 UTC)。
337+
最後更新於 5月 04, 2025 (08:31 UTC)。
338338

339339
<a href="/bugs.html">Found a bug</a>?
340340

0 commit comments

Comments
 (0)