Skip to content

Commit fa43dfa

Browse files
committed
Deploy preview for PR 1160 🛫
1 parent 30c9dc6 commit fa43dfa

File tree

572 files changed

+704
-755
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

+704
-755
lines changed

pr-preview/pr-1160/_sources/c-api/conversion.rst.txt

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,18 +128,28 @@ The following functions provide locale-independent string to number conversions.
128128
must be 0 and is ignored. The ``'r'`` format code specifies the
129129
standard :func:`repr` format.
130130
131-
*flags* can be zero or more of the values ``Py_DTSF_SIGN``,
132-
``Py_DTSF_ADD_DOT_0``, or ``Py_DTSF_ALT``, or-ed together:
131+
*flags* can be zero or more of the following values or-ed together:
133132
134-
* ``Py_DTSF_SIGN`` means to always precede the returned string with a sign
135-
character, even if *val* is non-negative.
133+
.. c:macro:: Py_DTSF_SIGN
136134
137-
* ``Py_DTSF_ADD_DOT_0`` means to ensure that the returned string will not look
138-
like an integer.
135+
Always precede the returned string with a sign
136+
character, even if *val* is non-negative.
139137
140-
* ``Py_DTSF_ALT`` means to apply "alternate" formatting rules. See the
141-
documentation for the :c:func:`PyOS_snprintf` ``'#'`` specifier for
142-
details.
138+
.. c:macro:: Py_DTSF_ADD_DOT_0
139+
140+
Ensure that the returned string will not look like an integer.
141+
142+
.. c:macro:: Py_DTSF_ALT
143+
144+
Apply "alternate" formatting rules.
145+
See the documentation for the :c:func:`PyOS_snprintf` ``'#'`` specifier for
146+
details.
147+
148+
.. c:macro:: Py_DTSF_NO_NEG_0
149+
150+
Negative zero is converted to positive zero.
151+
152+
.. versionadded:: 3.11
143153
144154
If *ptype* is non-``NULL``, then the value it points to will be set to one of
145155
``Py_DTST_FINITE``, ``Py_DTST_INFINITE``, or ``Py_DTST_NAN``, signifying that

pr-preview/pr-1160/about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ <h3>導航</h3>
314314
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
315315
<br>
316316
<br>
317-
最後更新於 11月 10, 2025 (00:21 UTC)。
317+
最後更新於 11月 10, 2025 (02:54 UTC)。
318318

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

pr-preview/pr-1160/bugs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ <h3>導航</h3>
351351
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
352352
<br>
353353
<br>
354-
最後更新於 11月 10, 2025 (00:21 UTC)。
354+
最後更新於 11月 10, 2025 (02:54 UTC)。
355355

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

pr-preview/pr-1160/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
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
324324
<br>
325325
<br>
326-
最後更新於 11月 10, 2025 (00:21 UTC)。
326+
最後更新於 11月 10, 2025 (02:54 UTC)。
327327

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

pr-preview/pr-1160/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
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
533533
<br>
534534
<br>
535-
最後更新於 11月 10, 2025 (00:21 UTC)。
535+
最後更新於 11月 10, 2025 (02:54 UTC)。
536536

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

pr-preview/pr-1160/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
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
472472
<br>
473473
<br>
474-
最後更新於 11月 10, 2025 (00:21 UTC)。
474+
最後更新於 11月 10, 2025 (02:54 UTC)。
475475

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

pr-preview/pr-1160/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
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
955955
<br>
956956
<br>
957-
最後更新於 11月 10, 2025 (00:21 UTC)。
957+
最後更新於 11月 10, 2025 (02:54 UTC)。
958958

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

pr-preview/pr-1160/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
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
335335
<br>
336336
<br>
337-
最後更新於 11月 10, 2025 (00:21 UTC)。
337+
最後更新於 11月 10, 2025 (02:54 UTC)。
338338

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

pr-preview/pr-1160/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/">敬請捐贈。</a>
10231023
<br>
10241024
<br>
1025-
最後更新於 11月 10, 2025 (00:21 UTC)。
1025+
最後更新於 11月 10, 2025 (02:54 UTC)。
10261026

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

pr-preview/pr-1160/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
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
398398
<br>
399399
<br>
400-
最後更新於 11月 10, 2025 (00:21 UTC)。
400+
最後更新於 11月 10, 2025 (02:54 UTC)。
401401

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

0 commit comments

Comments
 (0)