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

Commit6a603c3

Browse files
Deploy preview for PR 1160 🛫
1 parent4dc6c76 commit6a603c3

File tree

577 files changed

+937
-733
lines changed

Some content is hidden

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

577 files changed

+937
-733
lines changed

‎pr-preview/pr-1160/_sources/c-api/file.rst.txt‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,29 @@ the :mod:`io` APIs instead.
9393
..versionadded::3.8
9494
9595
96+
..c:function:: PyObject *PyFile_OpenCodeObject(PyObject *path)
97+
98+
Open *path* with the mode ``'rb'``. *path* must be a Python:class:`str`
99+
object. The behavior of this function may be overridden by
100+
:c:func:`PyFile_SetOpenCodeHook` to allow for some preprocessing of the
101+
text.
102+
103+
This is analogous to:func:`io.open_code` in Python.
104+
105+
On success, this function returns a:term:`strong reference` to a Python
106+
file object. On failure, this function returns ``NULL`` with an exception
107+
set.
108+
109+
..versionadded::3.8
110+
111+
112+
..c:function:: PyObject *PyFile_OpenCode(const char *path)
113+
114+
Similar to:c:func:`PyFile_OpenCodeObject`, but *path* is a
115+
UTF-8 encoded:c:expr:`const char*`.
116+
117+
..versionadded::3.8
118+
96119
97120
..c:function::intPyFile_WriteObject(PyObject *obj, PyObject *p, int flags)
98121

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,34 @@ Floating-Point Objects
7878
Return the minimum normalized positive float *DBL_MIN* as C :c:expr:`double`.
7979
8080
81+
.. c:macro:: Py_INFINITY
82+
83+
This macro expands a to constant expression of type :c:expr:`double`, that
84+
represents the positive infinity.
85+
86+
On most platforms, this is equivalent to the :c:macro:`!INFINITY` macro from
87+
the C11 standard ``<math.h>`` header.
88+
89+
90+
.. c:macro:: Py_NAN
91+
92+
This macro expands a to constant expression of type :c:expr:`double`, that
93+
represents a quiet not-a-number (qNaN) value.
94+
95+
On most platforms, this is equivalent to the :c:macro:`!NAN` macro from
96+
the C11 standard ``<math.h>`` header.
97+
98+
99+
.. c:macro:: Py_MATH_El
100+
101+
High precision (long double) definition of :data:`~math.e` constant.
102+
103+
104+
.. c:macro:: Py_MATH_PIl
105+
106+
High precision (long double) definition of :data:`~math.pi` constant.
107+
108+
81109
.. c:macro:: Py_RETURN_NAN
82110
83111
Return :data:`math.nan` from a function.

‎pr-preview/pr-1160/_sources/c-api/type.rst.txt‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,20 @@ Type Objects
116116
.. versionadded:: 3.12
117117
118118
119+
.. c:function:: int PyType_Unwatch(int watcher_id, PyObject *type)
120+
121+
Mark *type* as not watched. This undoes a previous call to
122+
:c:func:`PyType_Watch`. *type* must not be ``NULL``.
123+
124+
An extension should never call this function with a *watcher_id* that was
125+
not returned to it by a previous call to:c:func:`PyType_AddWatcher`.
126+
127+
On success, this function returns ``0``. On failure, this function returns
128+
``-1`` with an exception set.
129+
130+
..versionadded::3.12
131+
132+
119133
..c:type::int (*PyType_WatchCallback)(PyObject *type)
120134
121135
Type of a type-watcher callback function.

‎pr-preview/pr-1160/_sources/library/csv.rst.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ The :mod:`csv` module defines the following classes:
295295
- the second through n-th rows contain strings where at least one value's
296296
length differs from that of the putative header of that column.
297297

298-
Twenty rows after thefirst roware sampled; if more than half ofcolumns +
299-
rows meet the criteria,:const:`True` is returned.
298+
Twenty-one rows after theheaderare sampled; if more than half ofthe
299+
columns +rows meet the criteria,:const:`True` is returned.
300300

301301
..note::
302302

‎pr-preview/pr-1160/_sources/library/turtle.rst.txt‎

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -2801,68 +2801,68 @@ The demo scripts are:
28012801

28022802
..tabularcolumns::|l|L|L|
28032803

2804-
+----------------+------------------------------+-----------------------+
2805-
| Name| Description| Features|
2806-
+================+==============================+=======================+
2807-
| bytedesign| complex classical| :func:`tracer`, delay,|
2808-
|| turtle graphics pattern|:func:`update`|
2809-
+----------------+------------------------------+-----------------------+
2810-
| chaos| graphs Verhulst dynamics,| world coordinates|
2811-
|| shows that computer's||
2812-
|| computations can generate||
2813-
|| results sometimes against the||
2814-
|| common sense expectations||
2815-
+----------------+------------------------------+-----------------------+
2816-
| clock| analog clock showing time| turtles as clock's|
2817-
|| of your computer| hands, ontimer|
2818-
+----------------+------------------------------+-----------------------+
2819-
| colormixer| experiment with r, g, b|:func:`ondrag`|
2820-
+----------------+------------------------------+-----------------------+
2821-
| forest| 3 breadth-first trees| randomization|
2822-
+----------------+------------------------------+-----------------------+
2823-
| fractalcurves| Hilbert & Koch curves| recursion|
2824-
+----------------+------------------------------+-----------------------+
2825-
| lindenmayer| ethnomathematics| L-System|
2826-
|| (indian kolams)||
2827-
+----------------+------------------------------+-----------------------+
2828-
| minimal_hanoi| Towers of Hanoi| Rectangular Turtles|
2829-
||| as Hanoi discs|
2830-
||| (shape,shapesize)|
2831-
+----------------+------------------------------+-----------------------+
2832-
| nim| play the classical nim game| turtles as nimsticks,|
2833-
|| with three heaps of sticks| event driven (mouse,|
2834-
|| against the computer.| keyboard)|
2835-
+----------------+------------------------------+-----------------------+
2836-
| paint| super minimalistic|:func:`onclick`|
2837-
|| drawing program||
2838-
+----------------+------------------------------+-----------------------+
2839-
| peace| elementary| turtle: appearance|
2840-
||| and animation|
2841-
+----------------+------------------------------+-----------------------+
2842-
| penrose| aperiodic tiling with|:func:`stamp`|
2843-
|| kites and darts||
2844-
+----------------+------------------------------+-----------------------+
2845-
| planet_and_moon| simulation of| compound shapes,|
2846-
|| gravitational system|:class:`Vec2D`|
2847-
+----------------+------------------------------+-----------------------+
2848-
| rosette| a pattern from the wikipedia|:func:`clone`,|
2849-
|| article on turtle graphics|:func:`undo`|
2850-
+----------------+------------------------------+-----------------------+
2851-
| round_dance| dancing turtles rotating| compound shapes, clone|
2852-
|| pairwise in opposite| shapesize,tilt,|
2853-
|| direction| get_shapepoly,update|
2854-
+----------------+------------------------------+-----------------------+
2855-
| sorting_animate| visual demonstration of| simple alignment,|
2856-
|| different sorting methods| randomization|
2857-
+----------------+------------------------------+-----------------------+
2858-
| tree| a (graphical) breadth|:func:`clone`|
2859-
|| first tree (using generators)||
2860-
+----------------+------------------------------+-----------------------+
2861-
| two_canvases| simple design| turtles on two|
2862-
||| canvases|
2863-
+----------------+------------------------------+-----------------------+
2864-
| yinyang| another elementary example|:func:`circle`|
2865-
+----------------+------------------------------+-----------------------+
2804+
+------------------------+------------------------------+--------------------------------------+
2805+
| Name| Description| Features|
2806+
+========================+==============================+======================================+
2807+
|``bytedesign``| complex classical|:func:`tracer`,:func:`delay`,|
2808+
|| turtle graphics pattern|:func:`update`|
2809+
+------------------------+------------------------------+--------------------------------------+
2810+
|``chaos``| graphs Verhulst dynamics,| world coordinates|
2811+
|| shows that computer's||
2812+
|| computations can generate||
2813+
|| results sometimes against the||
2814+
|| common sense expectations||
2815+
+------------------------+------------------------------+--------------------------------------+
2816+
|``clock``| analog clock showing time| turtles as clock's|
2817+
|| of your computer| hands,:func:`ontimer`|
2818+
+------------------------+------------------------------+--------------------------------------+
2819+
|``colormixer``| experiment with r, g, b|:func:`ondrag`|
2820+
+------------------------+------------------------------+--------------------------------------+
2821+
|``forest``| 3 breadth-first trees| randomization|
2822+
+------------------------+------------------------------+--------------------------------------+
2823+
|``fractalcurves``| Hilbert & Koch curves| recursion|
2824+
+------------------------+------------------------------+--------------------------------------+
2825+
|``lindenmayer``| ethnomathematics| L-System|
2826+
|| (indian kolams)||
2827+
+------------------------+------------------------------+--------------------------------------+
2828+
|``minimal_hanoi``| Towers of Hanoi| Rectangular Turtles|
2829+
||| as Hanoi discs|
2830+
||| (:func:`shape`,:func:`shapesize`)|
2831+
+------------------------+------------------------------+--------------------------------------+
2832+
|``nim``| play the classical nim game| turtles as nimsticks,|
2833+
|| with three heaps of sticks| event driven (mouse,|
2834+
|| against the computer.| keyboard)|
2835+
+------------------------+------------------------------+--------------------------------------+
2836+
|``paint``| super minimalistic|:func:`onclick`|
2837+
|| drawing program||
2838+
+------------------------+------------------------------+--------------------------------------+
2839+
|``peace``| elementary| turtle: appearance|
2840+
||| and animation|
2841+
+------------------------+------------------------------+--------------------------------------+
2842+
|``penrose``| aperiodic tiling with|:func:`stamp`|
2843+
|| kites and darts||
2844+
+------------------------+------------------------------+--------------------------------------+
2845+
|``planet_and_moon``| simulation of| compound shapes,|
2846+
|| gravitational system|:class:`Vec2D`|
2847+
+------------------------+------------------------------+--------------------------------------+
2848+
|``rosette``| a pattern from the wikipedia|:func:`clone`,|
2849+
|| article on turtle graphics|:func:`undo`|
2850+
+------------------------+------------------------------+--------------------------------------+
2851+
|``round_dance``| dancing turtles rotating| compound shapes,:func:`clone`|
2852+
|| pairwise in opposite|:func:`shapesize`,:func:`tilt`,|
2853+
|| direction|:func:`get_shapepoly`, :func:`update`|
2854+
+------------------------+------------------------------+--------------------------------------+
2855+
|``sorting_animate``| visual demonstration of| simple alignment,|
2856+
|| different sorting methods| randomization|
2857+
+------------------------+------------------------------+--------------------------------------+
2858+
|``tree``| a (graphical) breadth|:func:`clone`|
2859+
|| first tree (using generators)||
2860+
+------------------------+------------------------------+--------------------------------------+
2861+
|``two_canvases``| simple design| turtles on two|
2862+
||| canvases|
2863+
+------------------------+------------------------------+--------------------------------------+
2864+
|``yinyang``| another elementary example|:func:`circle`|
2865+
+------------------------+------------------------------+--------------------------------------+
28662866

28672867
Have fun!
28682868

‎pr-preview/pr-1160/_sources/using/windows.rst.txt‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,25 @@ customization.
457457
- Specify the default format used by the ``py list`` command.
458458
By default, ``table``.
459459

460+
* - ``install_dir``
461+
- (none)
462+
- Specify the root directory that runtimes will be installed into.
463+
If you change this setting, previously installed runtimes will not be
464+
usable unless you move them to the new location.
465+
466+
* - ``global_dir``
467+
- (none)
468+
- Specify the directory where global commands (such as ``python3.14.exe``)
469+
are stored.
470+
This directory should be added to your:envvar:`PATH` to make the
471+
commands available from your terminal.
472+
473+
* - ``download_dir``
474+
- (none)
475+
- Specify the directory where downloaded files are stored.
476+
This directory is a temporary cache, and can be cleaned up from time to
477+
time.
478+
460479
Dotted names should be nested inside JSON objects, for example, ``list.format``
461480
would be specified as ``{"list": {"format": "table"}}``.
462481

‎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
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
315315
<br>
316316
<br>
317-
最後更新於 11月11, 2025 (06:35 UTC)。
317+
最後更新於 11月12, 2025 (00:21 UTC)。
318318

319319
<ahref="/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
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
352352
<br>
353353
<br>
354-
最後更新於 11月11, 2025 (06:35 UTC)。
354+
最後更新於 11月12, 2025 (00:21 UTC)。
355355

356356
<ahref="/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
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
324324
<br>
325325
<br>
326-
最後更新於 11月11, 2025 (06:35 UTC)。
326+
最後更新於 11月12, 2025 (00:21 UTC)。
327327

328328
<ahref="/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
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
533533
<br>
534534
<br>
535-
最後更新於 11月11, 2025 (06:35 UTC)。
535+
最後更新於 11月12, 2025 (00:21 UTC)。
536536

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp