Skip to content

Commit 445434d

Browse files
committed
Deploying to gh-pages from @ c49d6ee 🚀
1 parent 9678f13 commit 445434d

File tree

553 files changed

+608
-619
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

+608
-619
lines changed

_sources/c-api/capsule.rst.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,19 @@ Refer to :ref:`using-capsules` for more information on using these objects.
105105
``module.attribute``. The *name* stored in the capsule must match this
106106
string exactly.
107107
108+
This function splits *name* on the ``.`` character, and imports the first
109+
element. It then processes further elements using attribute lookups.
110+
108111
Return the capsule's internal *pointer* on success. On failure, set an
109112
exception and return ``NULL``.
110113
114+
.. note::
115+
116+
If *name* points to an attribute of some submodule or subpackage, this
117+
submodule or subpackage must be previously imported using other means
118+
(for example, by using :c:func:`PyImport_ImportModule`) for the
119+
attribute lookups to succeed.
120+
111121
.. versionchanged:: 3.3
112122
*no_block* has no effect anymore.
113123

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-
最後更新於 6月 27, 2025 (17:37 UTC)。
323+
最後更新於 6月 30, 2025 (05:29 UTC)。
324324

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

bugs.html

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

@@ -359,7 +359,7 @@ <h3>瀏覽</h3>
359359
<a href="https://www.python.org/psf/donations/">Please donate.</a>
360360
<br>
361361
<br>
362-
最後更新於 6月 27, 2025 (17:37 UTC)。
362+
最後更新於 6月 30, 2025 (05:29 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-
最後更新於 6月 27, 2025 (17:37 UTC)。
332+
最後更新於 6月 30, 2025 (05:29 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-
最後更新於 6月 27, 2025 (17:37 UTC)。
353+
最後更新於 6月 30, 2025 (05:29 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-
最後更新於 6月 27, 2025 (17:37 UTC)。
379+
最後更新於 6月 30, 2025 (05:29 UTC)。
380380

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

c-api/arg.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<link rel="search" title="搜尋" href="../search.html" />
2828
<link rel="copyright" title="版權" href="../copyright.html" />
2929
<link rel="next" title="字串轉換與格式化" href="conversion.html" />
30-
<link rel="prev" title="資料 marshal 的支援" href="marshal.html" />
30+
<link rel="prev" title="資料 marshal 操作的支援" href="marshal.html" />
3131

3232

3333
<link rel="canonical" href="https://docs.python.org/3/c-api/arg.html">
@@ -106,7 +106,7 @@ <h3><a href="../contents.html">目錄</a></h3>
106106
<div>
107107
<h4>上個主題</h4>
108108
<p class="topless"><a href="marshal.html"
109-
title="上一章">資料 marshal 的支援</a></p>
109+
title="上一章">資料 marshal 操作的支援</a></p>
110110
</div>
111111
<div>
112112
<h4>下個主題</h4>
@@ -142,7 +142,7 @@ <h3>瀏覽</h3>
142142
<a href="conversion.html" title="字串轉換與格式化"
143143
accesskey="N">下一頁</a> |</li>
144144
<li class="right" >
145-
<a href="marshal.html" title="資料 marshal 的支援"
145+
<a href="marshal.html" title="資料 marshal 操作的支援"
146146
accesskey="P">上一頁</a> |</li>
147147

148148
<li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"></li>
@@ -827,7 +827,7 @@ <h3><a href="../contents.html">目錄</a></h3>
827827
<div>
828828
<h4>上個主題</h4>
829829
<p class="topless"><a href="marshal.html"
830-
title="上一章">資料 marshal 的支援</a></p>
830+
title="上一章">資料 marshal 操作的支援</a></p>
831831
</div>
832832
<div>
833833
<h4>下個主題</h4>
@@ -866,7 +866,7 @@ <h3>瀏覽</h3>
866866
<a href="conversion.html" title="字串轉換與格式化"
867867
>下一頁</a> |</li>
868868
<li class="right" >
869-
<a href="marshal.html" title="資料 marshal 的支援"
869+
<a href="marshal.html" title="資料 marshal 操作的支援"
870870
>上一頁</a> |</li>
871871

872872
<li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"></li>
@@ -931,7 +931,7 @@ <h3>瀏覽</h3>
931931
<a href="https://www.python.org/psf/donations/">Please donate.</a>
932932
<br>
933933
<br>
934-
最後更新於 6月 27, 2025 (17:37 UTC)。
934+
最後更新於 6月 30, 2025 (05:29 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-
最後更新於 6月 27, 2025 (17:37 UTC)。
344+
最後更新於 6月 30, 2025 (05:29 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-
最後更新於 6月 27, 2025 (17:37 UTC)。
1025+
最後更新於 6月 30, 2025 (05:29 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-
最後更新於 6月 27, 2025 (17:37 UTC)。
403+
最後更新於 6月 30, 2025 (05:29 UTC)。
404404

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

0 commit comments

Comments
 (0)