Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit68c21c4

Browse files
committed
Deploying to gh-pages from @4609277 🚀
1 parentea27658 commit68c21c4

File tree

572 files changed

+953
-1044
lines changed

Some content is hidden

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

572 files changed

+953
-1044
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
@@ -314,7 +314,7 @@ <h3>導航</h3>
314314
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
315315
<br>
316316
<br>
317-
最後更新於 11月 14, 2025 (19:39 UTC)。
317+
最後更新於 11月 14, 2025 (20:00 UTC)。
318318

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

‎bugs.html‎

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

@@ -351,7 +351,7 @@ <h3>導航</h3>
351351
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
352352
<br>
353353
<br>
354-
最後更新於 11月 14, 2025 (19:39 UTC)。
354+
最後更新於 11月 14, 2025 (20:00 UTC)。
355355

356356
<ahref="/bugs.html">發現 bug</a>
357357

‎c-api/abstract.html‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ <h3>導航</h3>
195195
<liclass="toctree-l1"><aclass="reference internal"href="mapping.html">對映協定</a></li>
196196
<liclass="toctree-l1"><aclass="reference internal"href="iter.html">疊代器協定</a></li>
197197
<liclass="toctree-l1"><aclass="reference internal"href="buffer.html">緩衝協定 (Buffer Protocol)</a><ul>
198-
<liclass="toctree-l2"><aclass="reference internal"href="buffer.html#buffer-structure">Buffer structure</a></li>
198+
<liclass="toctree-l2"><aclass="reference internal"href="buffer.html#buffer-structure">緩衝區結構</a></li>
199199
<liclass="toctree-l2"><aclass="reference internal"href="buffer.html#buffer-request-types">Buffer request types</a><ul>
200200
<liclass="toctree-l3"><aclass="reference internal"href="buffer.html#request-independent-fields">request-independent fields</a></li>
201201
<liclass="toctree-l3"><aclass="reference internal"href="buffer.html#readonly-format">readonly, format</a></li>
@@ -205,11 +205,11 @@ <h3>導航</h3>
205205
</ul>
206206
</li>
207207
<liclass="toctree-l2"><aclass="reference internal"href="buffer.html#complex-arrays">Complex arrays</a><ul>
208-
<liclass="toctree-l3"><aclass="reference internal"href="buffer.html#numpy-style-shape-and-strides">NumPy-style: shape and strides</a></li>
208+
<liclass="toctree-l3"><aclass="reference internal"href="buffer.html#numpy-style-shape-and-strides">NumPy 風格:形狀與步幅</a></li>
209209
<liclass="toctree-l3"><aclass="reference internal"href="buffer.html#pil-style-shape-strides-and-suboffsets">PIL-style: shape, strides and suboffsets</a></li>
210210
</ul>
211211
</li>
212-
<liclass="toctree-l2"><aclass="reference internal"href="buffer.html#buffer-related-functions">Buffer-related functions</a></li>
212+
<liclass="toctree-l2"><aclass="reference internal"href="buffer.html#buffer-related-functions">與緩衝相關的函式</a></li>
213213
</ul>
214214
</li>
215215
</ul>
@@ -323,7 +323,7 @@ <h3>導航</h3>
323323
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
324324
<br>
325325
<br>
326-
最後更新於 11月 14, 2025 (19:39 UTC)。
326+
最後更新於 11月 14, 2025 (20:00 UTC)。
327327

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

‎c-api/allocation.html‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<h3><ahref="../contents.html">目錄</a></h3>
9191
<ul>
9292
<li><aclass="reference internal"href="#">在 heap 上分配物件</a><ul>
93-
<li><aclass="reference internal"href="#deprecated-aliases">Deprecated aliases</a></li>
93+
<li><aclass="reference internal"href="#deprecated-aliases">被棄用的別名</a></li>
9494
</ul>
9595
</li>
9696
</ul>
@@ -327,13 +327,13 @@ <h3>導航</h3>
327327
</dl>
328328
</div>
329329
<sectionid="deprecated-aliases">
330-
<h2>Deprecated aliases<aclass="headerlink"href="#deprecated-aliases"title="連結到這個標頭"></a></h2>
330+
<h2>被棄用的別名<aclass="headerlink"href="#deprecated-aliases"title="連結到這個標頭"></a></h2>
331331
<p>These are<aclass="reference internal"href="../glossary.html#term-soft-deprecated"><spanclass="xref std std-term">soft deprecated</span></a> aliases to existing functions and macros.
332332
They exist solely for backwards compatibility.</p>
333333
<tableclass="docutils align-default">
334334
<thead>
335-
<trclass="row-odd"><thclass="head"><p>Deprecated alias</p></th>
336-
<thclass="head"><p>Function</p></th>
335+
<trclass="row-odd"><thclass="head"><p>已棄用的別名</p></th>
336+
<thclass="head"><p>函式</p></th>
337337
</tr>
338338
</thead>
339339
<tbody>
@@ -425,7 +425,7 @@ <h2>Deprecated aliases<a class="headerlink" href="#deprecated-aliases" title="
425425
<h3><ahref="../contents.html">目錄</a></h3>
426426
<ul>
427427
<li><aclass="reference internal"href="#">在 heap 上分配物件</a><ul>
428-
<li><aclass="reference internal"href="#deprecated-aliases">Deprecated aliases</a></li>
428+
<li><aclass="reference internal"href="#deprecated-aliases">被棄用的別名</a></li>
429429
</ul>
430430
</li>
431431
</ul>
@@ -532,7 +532,7 @@ <h3>導航</h3>
532532
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
533533
<br>
534534
<br>
535-
最後更新於 11月 14, 2025 (19:39 UTC)。
535+
最後更新於 11月 14, 2025 (20:00 UTC)。
536536

537537
<ahref="/bugs.html">發現 bug</a>
538538

‎c-api/apiabiversion.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ <h3>導航</h3>
471471
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
472472
<br>
473473
<br>
474-
最後更新於 11月 14, 2025 (19:39 UTC)。
474+
最後更新於 11月 14, 2025 (20:00 UTC)。
475475

476476
<ahref="/bugs.html">發現 bug</a>
477477

‎c-api/arg.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ <h3>導航</h3>
954954
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
955955
<br>
956956
<br>
957-
最後更新於 11月 14, 2025 (19:39 UTC)。
957+
最後更新於 11月 14, 2025 (20:00 UTC)。
958958

959959
<ahref="/bugs.html">發現 bug</a>
960960

‎c-api/bool.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ <h3>導航</h3>
334334
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
335335
<br>
336336
<br>
337-
最後更新於 11月 14, 2025 (19:39 UTC)。
337+
最後更新於 11月 14, 2025 (20:00 UTC)。
338338

339339
<ahref="/bugs.html">發現 bug</a>
340340

‎c-api/buffer.html‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<h3><ahref="../contents.html">目錄</a></h3>
9191
<ul>
9292
<li><aclass="reference internal"href="#">緩衝協定 (Buffer Protocol)</a><ul>
93-
<li><aclass="reference internal"href="#buffer-structure">Buffer structure</a></li>
93+
<li><aclass="reference internal"href="#buffer-structure">緩衝區結構</a></li>
9494
<li><aclass="reference internal"href="#buffer-request-types">Buffer request types</a><ul>
9595
<li><aclass="reference internal"href="#request-independent-fields">request-independent fields</a></li>
9696
<li><aclass="reference internal"href="#readonly-format">readonly, format</a></li>
@@ -100,11 +100,11 @@ <h3><a href="../contents.html">目錄</a></h3>
100100
</ul>
101101
</li>
102102
<li><aclass="reference internal"href="#complex-arrays">Complex arrays</a><ul>
103-
<li><aclass="reference internal"href="#numpy-style-shape-and-strides">NumPy-style: shape and strides</a></li>
103+
<li><aclass="reference internal"href="#numpy-style-shape-and-strides">NumPy 風格:形狀與步幅</a></li>
104104
<li><aclass="reference internal"href="#pil-style-shape-strides-and-suboffsets">PIL-style: shape, strides and suboffsets</a></li>
105105
</ul>
106106
</li>
107-
<li><aclass="reference internal"href="#buffer-related-functions">Buffer-related functions</a></li>
107+
<li><aclass="reference internal"href="#buffer-related-functions">與緩衝相關的函式</a></li>
108108
</ul>
109109
</li>
110110
</ul>
@@ -232,7 +232,7 @@ <h3>導航</h3>
232232
<p>There are two ways for a consumer of the buffer interface to acquire a buffer
233233
over a target object:</p>
234234
<ulclass="simple">
235-
<li><p>call<aclass="reference internal"href="#c.PyObject_GetBuffer"title="PyObject_GetBuffer"><codeclass="xref c c-func docutils literal notranslate"><spanclass="pre">PyObject_GetBuffer()</span></code></a> with the right parameters;</p></li>
235+
<li><p>以適當的參數呼叫<aclass="reference internal"href="#c.PyObject_GetBuffer"title="PyObject_GetBuffer"><codeclass="xref c c-func docutils literal notranslate"><spanclass="pre">PyObject_GetBuffer()</span></code></a></p></li>
236236
<li><p>call<aclass="reference internal"href="arg.html#c.PyArg_ParseTuple"title="PyArg_ParseTuple"><codeclass="xref c c-func docutils literal notranslate"><spanclass="pre">PyArg_ParseTuple()</span></code></a> (or one of its siblings) with one of the
237237
<codeclass="docutils literal notranslate"><spanclass="pre">y*</span></code>,<codeclass="docutils literal notranslate"><spanclass="pre">w*</span></code> or<codeclass="docutils literal notranslate"><spanclass="pre">s*</span></code><aclass="reference internal"href="arg.html#arg-parsing"><spanclass="std std-ref">format codes</span></a>.</p></li>
238238
</ul>
@@ -244,7 +244,7 @@ <h3>導航</h3>
244244
<aclass="reference internal"href="../reference/datamodel.html#python-buffer-protocol"><spanclass="std std-ref">Emulating buffer types</span></a> and<aclass="reference internal"href="../library/stdtypes.html#memoryview"title="memoryview"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">memoryview</span></code></a>.</p>
245245
</div>
246246
<sectionid="buffer-structure">
247-
<spanid="id1"></span><h2>Buffer structure<aclass="headerlink"href="#buffer-structure"title="連結到這個標頭"></a></h2>
247+
<spanid="id1"></span><h2>緩衝區結構<aclass="headerlink"href="#buffer-structure"title="連結到這個標頭"></a></h2>
248248
<p>Buffer structures (or simply &quot;buffers&quot;) are useful as a way to expose the
249249
binary data from another object to the Python programmer. They can also be
250250
used as a zero-copy slicing mechanism. Using their ability to reference a
@@ -332,7 +332,7 @@ <h3>導航</h3>
332332
<dd><p>A<em>NULL</em> terminated string in<aclass="reference internal"href="../library/struct.html#module-struct"title="struct: Interpret bytes as packed binary data."><codeclass="xref py py-mod docutils literal notranslate"><spanclass="pre">struct</span></code></a> module style syntax describing
333333
the contents of a single item. If this is<codeclass="docutils literal notranslate"><spanclass="pre">NULL</span></code>,<codeclass="docutils literal notranslate"><spanclass="pre">&quot;B&quot;</span></code> (unsigned bytes)
334334
is assumed.</p>
335-
<p>This field is controlled by the<aclass="reference internal"href="#c.PyBUF_FORMAT"title="PyBUF_FORMAT"><codeclass="xref c c-macro docutils literal notranslate"><spanclass="pre">PyBUF_FORMAT</span></code></a>flag.</p>
335+
<p>此欄位受<aclass="reference internal"href="#c.PyBUF_FORMAT"title="PyBUF_FORMAT"><codeclass="xref c c-macro docutils literal notranslate"><spanclass="pre">PyBUF_FORMAT</span></code></a>旗標控制。</p>
336336
</dd></dl>
337337

338338
<dlclass="c member">
@@ -440,7 +440,7 @@ <h3>readonly, format<a class="headerlink" href="#readonly-format" title="連結
440440
<dlclass="c macro">
441441
<dtclass="sig sig-object c"id="c.PyBUF_WRITEABLE">
442442
<spanclass="sig-name descname"><spanclass="n"><spanclass="pre">PyBUF_WRITEABLE</span></span></span><aclass="headerlink"href="#c.PyBUF_WRITEABLE"title="連結到這個定義"></a><br/></dt>
443-
<dd><p>This is a<aclass="reference internal"href="../glossary.html#term-soft-deprecated"><spanclass="xrefstd std-term">soft deprecated</span></a>alias to<aclass="reference internal"href="#c.PyBUF_WRITABLE"title="PyBUF_WRITABLE"><codeclass="xrefc c-macro docutils literal notranslate"><spanclass="pre">PyBUF_WRITABLE</span></code></a>.</p>
443+
<dd><p>這是<aclass="reference internal"href="#c.PyBUF_WRITABLE"title="PyBUF_WRITABLE"><codeclass="xrefc c-macro docutils literal notranslate"><spanclass="pre">PyBUF_WRITABLE</span></code></a><aclass="reference internal"href="../glossary.html#term-soft-deprecated"><spanclass="xrefstd std-term">軟性棄用</span></a>別名。</p>
444444
</dd></dl>
445445

446446
<dlclass="c macro">
@@ -702,7 +702,7 @@ <h3>compound requests<a class="headerlink" href="#compound-requests" title="連
702702
<sectionid="complex-arrays">
703703
<h2>Complex arrays<aclass="headerlink"href="#complex-arrays"title="連結到這個標頭"></a></h2>
704704
<sectionid="numpy-style-shape-and-strides">
705-
<h3>NumPy-style: shape and strides<aclass="headerlink"href="#numpy-style-shape-and-strides"title="連結到這個標頭"></a></h3>
705+
<h3>NumPy 風格:形狀與步幅<aclass="headerlink"href="#numpy-style-shape-and-strides"title="連結到這個標頭"></a></h3>
706706
<p>The logical structure of NumPy-style arrays is defined by<aclass="reference internal"href="#c.Py_buffer.itemsize"title="Py_buffer.itemsize"><codeclass="xref c c-member docutils literal notranslate"><spanclass="pre">itemsize</span></code></a>,
707707
<aclass="reference internal"href="#c.Py_buffer.ndim"title="Py_buffer.ndim"><codeclass="xref c c-member docutils literal notranslate"><spanclass="pre">ndim</span></code></a>,<aclass="reference internal"href="#c.Py_buffer.shape"title="Py_buffer.shape"><codeclass="xref c c-member docutils literal notranslate"><spanclass="pre">shape</span></code></a> and<aclass="reference internal"href="#c.Py_buffer.strides"title="Py_buffer.strides"><codeclass="xref c c-member docutils literal notranslate"><spanclass="pre">strides</span></code></a>.</p>
708708
<p>If<codeclass="docutils literal notranslate"><spanclass="pre">ndim</span><spanclass="pre">==</span><spanclass="pre">0</span></code>, the memory location pointed to by<aclass="reference internal"href="#c.Py_buffer.buf"title="Py_buffer.buf"><codeclass="xref c c-member docutils literal notranslate"><spanclass="pre">buf</span></code></a> is
@@ -775,7 +775,7 @@ <h3>PIL-style: shape, strides and suboffsets<a class="headerlink" href="#pil-sty
775775
</section>
776776
</section>
777777
<sectionid="buffer-related-functions">
778-
<h2>Buffer-related functions<aclass="headerlink"href="#buffer-related-functions"title="連結到這個標頭"></a></h2>
778+
<h2>與緩衝相關的函式<aclass="headerlink"href="#buffer-related-functions"title="連結到這個標頭"></a></h2>
779779
<dlclass="c function">
780780
<dtclass="sig sig-object c"id="c.PyObject_CheckBuffer">
781781
<spanclass="kt"><spanclass="pre">int</span></span><spanclass="w"></span><spanclass="sig-name descname"><spanclass="n"><spanclass="pre">PyObject_CheckBuffer</span></span></span><spanclass="sig-paren">(</span><aclass="reference internal"href="structures.html#c.PyObject"title="PyObject"><spanclass="n"><spanclass="pre">PyObject</span></span></a><spanclass="w"></span><spanclass="p"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">obj</span></span><spanclass="sig-paren">)</span><aclass="headerlink"href="#c.PyObject_CheckBuffer"title="連結到這個定義"></a><br/></dt>
@@ -851,7 +851,7 @@ <h2>Buffer-related functions<a class="headerlink" href="#buffer-related-function
851851
<dd><emclass="stableabi"><aclass="reference internal"href="stable.html#stable"><spanclass="std std-ref">穩定 ABI 的一部分</span></a> 自 3.11 版本開始.</em><p>Copy<em>len</em> bytes from<em>src</em> to its contiguous representation in<em>buf</em>.
852852
<em>order</em> can be<codeclass="docutils literal notranslate"><spanclass="pre">'C'</span></code> or<codeclass="docutils literal notranslate"><spanclass="pre">'F'</span></code> or<codeclass="docutils literal notranslate"><spanclass="pre">'A'</span></code> (for C-style or Fortran-style
853853
ordering or either one).<codeclass="docutils literal notranslate"><spanclass="pre">0</span></code> is returned on success,<codeclass="docutils literal notranslate"><spanclass="pre">-1</span></code> on error.</p>
854-
<p>This function fails if<em>len</em> !=<em>src-&gt;len</em>.</p>
854+
<p>此函式在<em>len</em> !=<em>src-&gt;len</em> 時失敗。</p>
855855
</dd></dl>
856856

857857
<dlclass="c function">
@@ -901,7 +901,7 @@ <h2>Buffer-related functions<a class="headerlink" href="#buffer-related-function
901901
<h3><ahref="../contents.html">目錄</a></h3>
902902
<ul>
903903
<li><aclass="reference internal"href="#">緩衝協定 (Buffer Protocol)</a><ul>
904-
<li><aclass="reference internal"href="#buffer-structure">Buffer structure</a></li>
904+
<li><aclass="reference internal"href="#buffer-structure">緩衝區結構</a></li>
905905
<li><aclass="reference internal"href="#buffer-request-types">Buffer request types</a><ul>
906906
<li><aclass="reference internal"href="#request-independent-fields">request-independent fields</a></li>
907907
<li><aclass="reference internal"href="#readonly-format">readonly, format</a></li>
@@ -911,11 +911,11 @@ <h3><a href="../contents.html">目錄</a></h3>
911911
</ul>
912912
</li>
913913
<li><aclass="reference internal"href="#complex-arrays">Complex arrays</a><ul>
914-
<li><aclass="reference internal"href="#numpy-style-shape-and-strides">NumPy-style: shape and strides</a></li>
914+
<li><aclass="reference internal"href="#numpy-style-shape-and-strides">NumPy 風格:形狀與步幅</a></li>
915915
<li><aclass="reference internal"href="#pil-style-shape-strides-and-suboffsets">PIL-style: shape, strides and suboffsets</a></li>
916916
</ul>
917917
</li>
918-
<li><aclass="reference internal"href="#buffer-related-functions">Buffer-related functions</a></li>
918+
<li><aclass="reference internal"href="#buffer-related-functions">與緩衝相關的函式</a></li>
919919
</ul>
920920
</li>
921921
</ul>
@@ -1022,7 +1022,7 @@ <h3>導航</h3>
10221022
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
10231023
<br>
10241024
<br>
1025-
最後更新於 11月 14, 2025 (19:39 UTC)。
1025+
最後更新於 11月 14, 2025 (20:00 UTC)。
10261026

10271027
<ahref="/bugs.html">發現 bug</a>
10281028

‎c-api/bytearray.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ <h3>導航</h3>
397397
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
398398
<br>
399399
<br>
400-
最後更新於 11月 14, 2025 (19:39 UTC)。
400+
最後更新於 11月 14, 2025 (20:00 UTC)。
401401

402402
<ahref="/bugs.html">發現 bug</a>
403403

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp