Skip to content

Commit d3d13ce

Browse files
committed
Deploying to gh-pages from @ 82742b5 🚀
1 parent 3f8589f commit d3d13ce

File tree

527 files changed

+886
-1241
lines changed

Some content is hidden

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

527 files changed

+886
-1241
lines changed

_sources/library/typing.rst.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1726,11 +1726,11 @@ without the dedicated syntax, as documented below.
17261726
class Sequence[T]: # T is a TypeVar
17271727
...
17281728

1729-
This syntax can also be used to create bound and constrained type
1729+
This syntax can also be used to create bounded and constrained type
17301730
variables::
17311731

1732-
class StrSequence[S: str]: # S is a TypeVar bound to str
1733-
...
1732+
class StrSequence[S: str]: # S is a TypeVar with a `str` upper bound;
1733+
... # we can say that S is "bounded by `str`"
17341734

17351735

17361736
class StrOrBytesSequence[A: (str, bytes)]: # A is a TypeVar constrained to str or bytes
@@ -1763,8 +1763,8 @@ without the dedicated syntax, as documented below.
17631763
"""Add two strings or bytes objects together."""
17641764
return x + y
17651765

1766-
Note that type variables can be *bound*, *constrained*, or neither, but
1767-
cannot be both bound *and* constrained.
1766+
Note that type variables can be *bounded*, *constrained*, or neither, but
1767+
cannot be both bounded *and* constrained.
17681768

17691769
The variance of type variables is inferred by type checkers when they are created
17701770
through the :ref:`type parameter syntax <type-params>` or when
@@ -1774,8 +1774,8 @@ without the dedicated syntax, as documented below.
17741774
By default, manually created type variables are invariant.
17751775
See :pep:`484` and :pep:`695` for more details.
17761776

1777-
Bound type variables and constrained type variables have different
1778-
semantics in several important ways. Using a *bound* type variable means
1777+
Bounded type variables and constrained type variables have different
1778+
semantics in several important ways. Using a *bounded* type variable means
17791779
that the ``TypeVar`` will be solved using the most specific type possible::
17801780

17811781
x = print_capitalized('a string')
@@ -1789,8 +1789,8 @@ without the dedicated syntax, as documented below.
17891789

17901790
z = print_capitalized(45) # error: int is not a subtype of str
17911791

1792-
Type variables can be bound to concrete types, abstract types (ABCs or
1793-
protocols), and even unions of types::
1792+
The upper bound of a type variable can be a concrete type, abstract type
1793+
(ABC or Protocol), or even a union of types::
17941794

17951795
# Can be anything with an __abs__ method
17961796
def print_abs[T: SupportsAbs](arg: T) -> None:
@@ -1834,7 +1834,7 @@ without the dedicated syntax, as documented below.
18341834

18351835
.. attribute:: __bound__
18361836

1837-
The bound of the type variable, if any.
1837+
The upper bound of the type variable, if any.
18381838

18391839
.. versionchanged:: 3.12
18401840

@@ -2060,7 +2060,7 @@ without the dedicated syntax, as documented below.
20602060
return x + y
20612061

20622062
Without ``ParamSpec``, the simplest way to annotate this previously was to
2063-
use a :class:`TypeVar` with bound ``Callable[..., Any]``. However this
2063+
use a :class:`TypeVar` with upper bound ``Callable[..., Any]``. However this
20642064
causes two problems:
20652065

20662066
1. The type checker can't type check the ``inner`` function because

_sources/using/configure.rst.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,19 @@ General Options
303303

304304
.. versionadded:: 3.13
305305

306+
.. option:: --enable-experimental-jit=[no|yes|yes-off|interpreter]
307+
308+
Indicate how to integrate the :ref:`JIT compiler <whatsnew313-jit-compiler>`.
309+
310+
* ``no`` - build the interpreter without the JIT.
311+
* ``yes`` - build the interpreter with the JIT.
312+
* ``yes-off`` - build the interpreter with the JIT but disable it by default.
313+
* ``interpreter`` - build the interpreter without the JIT, but with the tier 2 enabled interpreter.
314+
315+
By convention, ``--enable-experimental-jit`` is a shorthand for ``--enable-experimental-jit=yes``.
316+
317+
.. versionadded:: 3.13
318+
306319
.. option:: PKG_CONFIG
307320

308321
Path to ``pkg-config`` utility.

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-
最後更新於 11月 10, 2024 (18:51 UTC)。
323+
最後更新於 11月 11, 2024 (06:17 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-
最後更新於 11月 10, 2024 (18:51 UTC)。
362+
最後更新於 11月 11, 2024 (06:17 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-
最後更新於 11月 10, 2024 (18:51 UTC)。
332+
最後更新於 11月 11, 2024 (06:17 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
@@ -344,7 +344,7 @@ <h3>瀏覽</h3>
344344
<a href="https://www.python.org/psf/donations/">Please donate.</a>
345345
<br />
346346
<br />
347-
最後更新於 11月 10, 2024 (18:51 UTC)。
347+
最後更新於 11月 11, 2024 (06:17 UTC)。
348348

349349
<a href="/bugs.html">Found a bug</a>?
350350

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-
最後更新於 11月 10, 2024 (18:51 UTC)。
379+
最後更新於 11月 11, 2024 (06:17 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
@@ -924,7 +924,7 @@ <h3>瀏覽</h3>
924924
<a href="https://www.python.org/psf/donations/">Please donate.</a>
925925
<br />
926926
<br />
927-
最後更新於 11月 10, 2024 (18:51 UTC)。
927+
最後更新於 11月 11, 2024 (06:17 UTC)。
928928

929929
<a href="/bugs.html">Found a bug</a>?
930930

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-
最後更新於 11月 10, 2024 (18:51 UTC)。
344+
最後更新於 11月 11, 2024 (06:17 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
@@ -1016,7 +1016,7 @@ <h3>瀏覽</h3>
10161016
<a href="https://www.python.org/psf/donations/">Please donate.</a>
10171017
<br />
10181018
<br />
1019-
最後更新於 11月 10, 2024 (18:51 UTC)。
1019+
最後更新於 11月 11, 2024 (06:17 UTC)。
10201020

10211021
<a href="/bugs.html">Found a bug</a>?
10221022

0 commit comments

Comments
 (0)