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

Commit49ddc76

Browse files
Deploy preview for PR 1172 🛫
1 parent1cc0499 commit49ddc76

File tree

576 files changed

+679
-584
lines changed

Some content is hidden

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

576 files changed

+679
-584
lines changed

‎pr-preview/pr-1172/_sources/c-api/float.rst.txt‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ Floating-Point Objects
9696
the C11 standard ``<math.h>`` header.
9797
9898
99+
.. c:macro:: Py_HUGE_VAL
100+
101+
Equivalent to :c:macro:`!INFINITY`.
102+
103+
.. deprecated:: 3.14
104+
The macro is :term:`soft deprecated`.
105+
106+
99107
.. c:macro:: Py_MATH_E
100108
101109
The definition (accurate for a:c:expr:`double` type) of the :data:`math.e` constant.
@@ -140,6 +148,34 @@ Floating-Point Objects
140148
return PyFloat_FromDouble(copysign(INFINITY, sign));
141149
142150
151+
..c:macro:: Py_IS_FINITE(X)
152+
153+
Return ``1`` if the given floating-point number *X* is finite,
154+
that is, it is normal, subnormal or zero, but not infinite or NaN.
155+
Return ``0`` otherwise.
156+
157+
..deprecated::3.14
158+
The macro is:term:`soft deprecated`. Use:c:macro:`!isfinite` instead.
159+
160+
161+
..c:macro:: Py_IS_INFINITY(X)
162+
163+
Return ``1`` if the given floating-point number *X* is positive or negative
164+
infinity. Return ``0`` otherwise.
165+
166+
..deprecated::3.14
167+
The macro is:term:`soft deprecated`. Use:c:macro:`!isinf` instead.
168+
169+
170+
..c:macro:: Py_IS_NAN(X)
171+
172+
Return ``1`` if the given floating-point number *X* is a not-a-number (NaN)
173+
value. Return ``0`` otherwise.
174+
175+
.. deprecated:: 3.14
176+
The macro is :term:`soft deprecated`. Use :c:macro:`!isnan` instead.
177+
178+
143179
Pack and Unpack functions
144180
-------------------------
145181

‎pr-preview/pr-1172/_sources/library/decimal.rst.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ allows the settings to be changed. This approach meets the needs of most
264264
applications.
265265

266266
For more advanced work, it may be useful to create alternate contexts using the
267-
Context() constructor. To make an alternate active, use the:func:`setcontext`
267+
:meth:`Context` constructor. To make an alternate active, use the:func:`setcontext`
268268
function.
269269

270270
In accordance with the standard, the:mod:`decimal` module provides two ready to

‎pr-preview/pr-1172/_sources/library/functools.rst.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ The :mod:`functools` module defines the following functions:
672672
dispatch>`:term:`generic function`.
673673

674674
To define a generic method, decorate it with the ``@singledispatchmethod``
675-
decorator. When defining afunction using ``@singledispatchmethod``, note
675+
decorator. When defining amethod using ``@singledispatchmethod``, note
676676
that the dispatch happens on the type of the first non-*self* or non-*cls*
677677
argument::
678678

‎pr-preview/pr-1172/_sources/library/os.rst.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ process and user.
561561

562562
..function::initgroups(username, gid, /)
563563

564-
Call the system initgroups() to initialize the group access list with all of
564+
Call the system``initgroups()`` to initialize the group access list with all of
565565
the groups of which the specified username is a member, plus the specified
566566
group id.
567567

‎pr-preview/pr-1172/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月18, 2025 (00:20 UTC)。
317+
最後更新於 11月19, 2025 (00:20 UTC)。
318318

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

‎pr-preview/pr-1172/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月18, 2025 (00:20 UTC)。
354+
最後更新於 11月19, 2025 (00:20 UTC)。
355355

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

‎pr-preview/pr-1172/c-api/abstract.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ <h3>導航</h3>
323323
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
324324
<br>
325325
<br>
326-
最後更新於 11月18, 2025 (00:20 UTC)。
326+
最後更新於 11月19, 2025 (00:20 UTC)。
327327

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

‎pr-preview/pr-1172/c-api/allocation.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ <h3>導航</h3>
532532
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
533533
<br>
534534
<br>
535-
最後更新於 11月18, 2025 (00:20 UTC)。
535+
最後更新於 11月19, 2025 (00:20 UTC)。
536536

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

‎pr-preview/pr-1172/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月18, 2025 (00:20 UTC)。
474+
最後更新於 11月19, 2025 (00:20 UTC)。
475475

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

‎pr-preview/pr-1172/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月18, 2025 (00:20 UTC)。
957+
最後更新於 11月19, 2025 (00:20 UTC)。
958958

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp