Skip to content

Commit 83b3fa9

Browse files
committed
Deploying to gh-pages from @ 6a4a962 🚀
1 parent 25245ac commit 83b3fa9

585 files changed

Lines changed: 886 additions & 1029 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.

_sources/c-api/long.rst.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
7171
on failure.
7272
7373
74+
.. c:function:: PyObject* PyLong_FromUnsignedLongLong(unsigned long long v)
75+
76+
Return a new :c:type:`PyLongObject` object from a C :c:expr:`unsigned long long`,
77+
or ``NULL`` on failure.
78+
79+
7480
.. c:function:: PyObject* PyLong_FromInt32(int32_t value)
7581
PyObject* PyLong_FromInt64(int64_t value)
7682
@@ -81,12 +87,6 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
8187
.. versionadded:: 3.14
8288
8389
84-
.. c:function:: PyObject* PyLong_FromUnsignedLongLong(unsigned long long v)
85-
86-
Return a new :c:type:`PyLongObject` object from a C :c:expr:`unsigned long long`,
87-
or ``NULL`` on failure.
88-
89-
9090
.. c:function:: PyObject* PyLong_FromUInt32(uint32_t value)
9191
PyObject* PyLong_FromUInt64(uint64_t value)
9292

_sources/library/collections.rst.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,7 +1229,7 @@ variants of :func:`functools.lru_cache`:
12291229
.. testcode::
12301230

12311231
from collections import OrderedDict
1232-
from time import time
1232+
from time import monotonic
12331233

12341234
class TimeBoundedLRU:
12351235
"LRU Cache that invalidates and refreshes old entries."
@@ -1244,10 +1244,10 @@ variants of :func:`functools.lru_cache`:
12441244
if args in self.cache:
12451245
self.cache.move_to_end(args)
12461246
timestamp, result = self.cache[args]
1247-
if time() - timestamp <= self.maxage:
1247+
if monotonic() - timestamp <= self.maxage:
12481248
return result
12491249
result = self.func(*args)
1250-
self.cache[args] = time(), result
1250+
self.cache[args] = monotonic(), result
12511251
if len(self.cache) > self.maxsize:
12521252
self.cache.popitem(last=False)
12531253
return result

_sources/library/importlib.resources.rst.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ For all the following functions:
237237

238238
.. versionchanged:: 3.13
239239
Multiple *path_names* are accepted.
240-
*encoding* and *errors* must be given as keyword arguments.
241240

242241

243242
.. function:: is_resource(anchor, *path_names)

about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ <h3>導航</h3>
356356
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
357357
<br>
358358
<br>
359-
最後更新於 6月 05, 2026 (12:16 UTC)。
359+
最後更新於 6月 06, 2026 (15:53 UTC)。
360360

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

bugs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ <h3>導航</h3>
393393
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
394394
<br>
395395
<br>
396-
最後更新於 6月 05, 2026 (12:16 UTC)。
396+
最後更新於 6月 06, 2026 (15:53 UTC)。
397397

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

c-api/abstract.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ <h3>導航</h3>
365365
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
366366
<br>
367367
<br>
368-
最後更新於 6月 05, 2026 (12:16 UTC)。
368+
最後更新於 6月 06, 2026 (15:53 UTC)。
369369

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

c-api/allocation.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

8-
<title>Allocating objects on the heap &#8212; Python 3.14.5 說明文件</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<title>heap 上分配物件 &#8212; Python 3.14.5 說明文件</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
99

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" />
@@ -89,8 +89,8 @@
8989
<div>
9090
<h3><a href="../contents.html">目錄</a></h3>
9191
<ul>
92-
<li><a class="reference internal" href="#">Allocating objects on the heap</a><ul>
93-
<li><a class="reference internal" href="#soft-deprecated-aliases">Soft-deprecated aliases</a></li>
92+
<li><a class="reference internal" href="#">heap 上分配物件</a><ul>
93+
<li><a class="reference internal" href="#soft-deprecated-aliases">軟性棄用的別名</a></li>
9494
</ul>
9595
</li>
9696
</ul>
@@ -174,7 +174,7 @@ <h3>導航</h3>
174174

175175
<li class="nav-item nav-item-1"><a href="index.html" >Python/C API 參考手冊</a> &#187;</li>
176176
<li class="nav-item nav-item-2"><a href="objimpl.html" accesskey="U">物件實作支援</a> &#187;</li>
177-
<li class="nav-item nav-item-this"><a href="">Allocating objects on the heap</a></li>
177+
<li class="nav-item nav-item-this"><a href="">heap 上分配物件</a></li>
178178
<li class="right">
179179

180180

@@ -205,7 +205,7 @@ <h3>導航</h3>
205205
<div class="body" role="main">
206206

207207
<section id="allocating-objects-on-the-heap">
208-
<span id="allocating-objects"></span><h1>Allocating objects on the heap<a class="headerlink" href="#allocating-objects-on-the-heap" title="連結到這個標頭"></a></h1>
208+
<span id="allocating-objects"></span><h1>heap 上分配物件<a class="headerlink" href="#allocating-objects-on-the-heap" title="連結到這個標頭"></a></h1>
209209
<dl class="c function">
210210
<dt class="sig sig-object c" id="c._PyObject_New">
211211
<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="sig-name descname"><span class="n"><span class="pre">_PyObject_New</span></span></span><span class="sig-paren">(</span><a class="reference internal" href="type.html#c.PyTypeObject" title="PyTypeObject"><span class="n"><span class="pre">PyTypeObject</span></span></a><span class="w"> </span><span class="p"><span class="pre">*</span></span><span class="n"><span class="pre">type</span></span><span class="sig-paren">)</span><a class="headerlink" href="#c._PyObject_New" title="連結到這個定義"></a><br /></dt>
@@ -348,15 +348,15 @@ <h3>導航</h3>
348348
</dl>
349349
</div>
350350
<section id="soft-deprecated-aliases">
351-
<h2>Soft-deprecated aliases<a class="headerlink" href="#soft-deprecated-aliases" title="連結到這個標頭"></a></h2>
351+
<h2>軟性棄用的別名<a class="headerlink" href="#soft-deprecated-aliases" title="連結到這個標頭"></a></h2>
352352
<div class="versionchanged soft-deprecated">
353353
<p><span class="versionmodified soft-deprecated"><a class="reference internal" href="../glossary.html#term-soft-deprecated">Soft deprecated</a> since version 3.10.</span></p>
354354
</div>
355355
<p>These are aliases to existing functions and macros.
356356
They exist solely for backwards compatibility.</p>
357357
<table class="docutils align-default">
358358
<thead>
359-
<tr class="row-odd"><th class="head"><p>Soft-deprecated alias</p></th>
359+
<tr class="row-odd"><th class="head"><p>軟性棄用的別名</p></th>
360360
<th class="head"><p>函式</p></th>
361361
</tr>
362362
</thead>
@@ -448,8 +448,8 @@ <h2>Soft-deprecated aliases<a class="headerlink" href="#soft-deprecated-aliases"
448448
<div>
449449
<h3><a href="../contents.html">目錄</a></h3>
450450
<ul>
451-
<li><a class="reference internal" href="#">Allocating objects on the heap</a><ul>
452-
<li><a class="reference internal" href="#soft-deprecated-aliases">Soft-deprecated aliases</a></li>
451+
<li><a class="reference internal" href="#">heap 上分配物件</a><ul>
452+
<li><a class="reference internal" href="#soft-deprecated-aliases">軟性棄用的別名</a></li>
453453
</ul>
454454
</li>
455455
</ul>
@@ -536,7 +536,7 @@ <h3>導航</h3>
536536

537537
<li class="nav-item nav-item-1"><a href="index.html" >Python/C API 參考手冊</a> &#187;</li>
538538
<li class="nav-item nav-item-2"><a href="objimpl.html" >物件實作支援</a> &#187;</li>
539-
<li class="nav-item nav-item-this"><a href="">Allocating objects on the heap</a></li>
539+
<li class="nav-item nav-item-this"><a href="">heap 上分配物件</a></li>
540540
<li class="right">
541541

542542

@@ -577,7 +577,7 @@ <h3>導航</h3>
577577
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
578578
<br>
579579
<br>
580-
最後更新於 6月 05, 2026 (12:16 UTC)。
580+
最後更新於 6月 06, 2026 (15:53 UTC)。
581581

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

c-api/apiabiversion.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ <h3>導航</h3>
514514
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
515515
<br>
516516
<br>
517-
最後更新於 6月 05, 2026 (12:16 UTC)。
517+
最後更新於 6月 06, 2026 (15:53 UTC)。
518518

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

c-api/arg.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ <h3>導航</h3>
996996
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
997997
<br>
998998
<br>
999-
最後更新於 6月 05, 2026 (12:16 UTC)。
999+
最後更新於 6月 06, 2026 (15:53 UTC)。
10001000

10011001
<a href="/bugs.html">發現 bug</a>
10021002

c-api/bool.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/">敬請捐贈。</a>
377377
<br>
378378
<br>
379-
最後更新於 6月 05, 2026 (12:16 UTC)。
379+
最後更新於 6月 06, 2026 (15:53 UTC)。
380380

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

0 commit comments

Comments
 (0)