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

Commit830e9ec

Browse files
Deploy preview for PR 1148 🛫
1 parentdc94241 commit830e9ec

File tree

575 files changed

+5048
-4996
lines changed

Some content is hidden

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

575 files changed

+5048
-4996
lines changed

‎pr-preview/pr-1148/_sources/c-api/object.rst.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ Object Protocol
585585
586586
Clear the managed dictionary of *obj*.
587587
588-
This function must only be called in atraverse function of the type which
588+
This function must only be called in aclear function of the type which
589589
has the:c:macro:`Py_TPFLAGS_MANAGED_DICT` flag set.
590590
591591
..versionadded::3.13

‎pr-preview/pr-1148/_sources/c-api/typeobj.rst.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1691,7 +1691,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
16911691
:c:func:`Py_CLEAR` macro performs the operations in a safe order.
16921692

16931693
If the:c:macro:`Py_TPFLAGS_MANAGED_DICT` bit is set in the
1694-
:c:member:`~PyTypeObject.tp_flags` field, thetraverse function must call
1694+
:c:member:`~PyTypeObject.tp_flags` field, theclear function must call
16951695
:c:func:`PyObject_ClearManagedDict` like this::
16961696

16971697
PyObject_ClearManagedDict((PyObject*)self);

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

Lines changed: 41 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -777,13 +777,17 @@ Turtle motion
777777
180.0
778778

779779

780-
..function::dot(size=None, *color)
780+
..function::dot()
781+
dot(size)
782+
dot(color, /)
783+
dot(size, color, /)
784+
dot(size, r, g, b, /)
781785

782786
:param size: an integer >= 1 (if given)
783787
:param color: a colorstring or a numeric color tuple
784788

785789
Draw a circular dot with diameter *size*, using *color*. If *size* is
786-
not given, the maximum of pensize+4 and 2*pensize is used.
790+
not given, the maximum of``pensize+4`` and``2*pensize`` is used.
787791

788792

789793
..doctest::
@@ -1152,7 +1156,9 @@ Drawing state
11521156
Color control
11531157
~~~~~~~~~~~~~
11541158

1155-
..function::pencolor(*args)
1159+
..function::pencolor()
1160+
pencolor(color, /)
1161+
pencolor(r, g, b, /)
11561162

11571163
Return or set the pencolor.
11581164

@@ -1161,7 +1167,7 @@ Color control
11611167
``pencolor()``
11621168
Return the current pencolor as color specification string or
11631169
as a tuple (see example). May be used as input to another
1164-
color/pencolor/fillcolor call.
1170+
color/pencolor/fillcolor/bgcolor call.
11651171

11661172
``pencolor(colorstring)``
11671173
Set pencolor to *colorstring*, which is a Tk color specification string,
@@ -1201,7 +1207,9 @@ Color control
12011207
(50.0, 193.0, 143.0)
12021208

12031209

1204-
..function::fillcolor(*args)
1210+
..function::fillcolor()
1211+
fillcolor(color, /)
1212+
fillcolor(r, g, b, /)
12051213

12061214
Return or set the fillcolor.
12071215

@@ -1210,7 +1218,7 @@ Color control
12101218
``fillcolor()``
12111219
Return the current fillcolor as color specification string, possibly
12121220
in tuple format (see example). May be used as input to another
1213-
color/pencolor/fillcolor call.
1221+
color/pencolor/fillcolor/bgcolor call.
12141222

12151223
``fillcolor(colorstring)``
12161224
Set fillcolor to *colorstring*, which is a Tk color specification string,
@@ -1244,7 +1252,10 @@ Color control
12441252
(255.0, 255.0, 255.0)
12451253

12461254

1247-
..function::color(*args)
1255+
..function::color()
1256+
color(color, /)
1257+
color(r, g, b, /)
1258+
color(pencolor, fillcolor, /)
12481259

12491260
Return or set pencolor and fillcolor.
12501261

@@ -1870,13 +1881,32 @@ Most of the examples in this section refer to a TurtleScreen instance called
18701881
Window control
18711882
--------------
18721883

1873-
..function::bgcolor(*args)
1884+
..function::bgcolor()
1885+
bgcolor(color, /)
1886+
bgcolor(r, g, b, /)
18741887

1875-
:param args: a color string or three numbers in the range 0..colormode or a
1876-
3-tuple of such numbers
1888+
Return or set the background color of the TurtleScreen.
18771889

1890+
Four input formats are allowed:
1891+
1892+
``bgcolor()``
1893+
Return the current background color as color specification string or
1894+
as a tuple (see example). May be used as input to another
1895+
color/pencolor/fillcolor/bgcolor call.
1896+
1897+
``bgcolor(colorstring)``
1898+
Set the background color to *colorstring*, which is a Tk color
1899+
specification string, such as ``"red"``, ``"yellow"``, or ``"#33cc8c"``.
18781900

1879-
Set or return background color of the TurtleScreen.
1901+
``bgcolor((r, g, b))``
1902+
Set the background color to the RGB color represented by the tuple of
1903+
*r*, *g*, and *b*.
1904+
Each of *r*, *g*, and *b* must be in the range 0..colormode, where
1905+
colormode is either 1.0 or 255 (see:func:`colormode`).
1906+
1907+
``bgcolor(r, g, b)``
1908+
Set the background color to the RGB color represented by *r*, *g*, and *b*. Each of
1909+
*r*, *g*, and *b* must be in the range 0..colormode.
18801910

18811911
..doctest::
18821912
:skipif: _tkinter is None

‎pr-preview/pr-1148/_sources/using/cmdline.rst.txt‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,9 +1256,8 @@ conflict.
12561256
..envvar::PYTHON_BASIC_REPL
12571257

12581258
If this variable is set to any value, the interpreter will not attempt to
1259-
load the Python-based:term:`REPL` that requires:mod:`curses` and
1260-
:mod:`readline`, and will instead use the traditional parser-based
1261-
:term:`REPL`.
1259+
load the Python-based:term:`REPL` that requires:mod:`readline`, and will
1260+
instead use the traditional parser-based:term:`REPL`.
12621261

12631262
..versionadded::3.13
12641263

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

Lines changed: 23 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ packages.
6060
.. _windows-path-mod:
6161
.. _launcher:
6262

63-
PythonInstall Manager
63+
Pythoninstall manager
6464
======================
6565

6666
Installation
@@ -103,7 +103,7 @@ Windows Server 2019, please see :ref:`pymanager-advancedinstall` below for more
103103
information.
104104

105105

106-
BasicUse
106+
Basicuse
107107
---------
108108

109109
The recommended command for launching Python is ``python``, which will either
@@ -193,7 +193,7 @@ installed if automatic installation is configured (most likely by setting
193193
``pymanager exec`` forms of the command were used.
194194

195195

196-
CommandHelp
196+
Commandhelp
197197
------------
198198

199199
The ``py help`` command will display the full list of supported commands, along
@@ -218,7 +218,7 @@ override multiple settings at once. See :ref:`pymanager-config` below for more
218218
information about these files.
219219

220220

221-
ListingRuntimes
221+
Listingruntimes
222222
----------------
223223

224224
..code::
@@ -259,7 +259,7 @@ For compatibility with the old launcher, the ``--list``, ``--list-paths``,
259259
additional options, and will produce legacy formatted output.
260260

261261

262-
InstallingRuntimes
262+
Installingruntimes
263263
-------------------
264264

265265
..code::
@@ -298,7 +298,7 @@ useful for embedding runtimes into larger applications.
298298
299299
.. _pymanager-offline:
300300

301-
OfflineInstalls
301+
Offlineinstalls
302302
----------------
303303

304304
To perform offline installs of Python, you will need to first create an offline
@@ -330,7 +330,7 @@ In this way, Python runtimes can be installed and managed on a machine without
330330
access to the internet.
331331

332332

333-
UninstallingRuntimes
333+
Uninstallingruntimes
334334
---------------------
335335

336336
..code::
@@ -541,7 +541,7 @@ configuration option.
541541

542542
.. _pymanager-advancedinstall:
543543

544-
AdvancedInstallation
544+
Advancedinstallation
545545
---------------------
546546

547547
For situations where an MSIX cannot be installed, such as some older
@@ -635,7 +635,7 @@ the Store package in this way.
635635

636636
.. _pymanager-admin-config:
637637

638-
AdministrativeConfiguration
638+
Administrativeconfiguration
639639
----------------------------
640640

641641
There are a number of options that may be useful for administrators to override
@@ -726,17 +726,12 @@ directory containing the configuration file that specified them.
726726

727727
.. _install-freethreaded-windows:
728728

729-
InstallingFree-threadedBinaries
729+
Installingfree-threadedbinaries
730730
---------------------------------
731731

732-
..versionadded::3.13 (Experimental)
732+
..versionadded::3.13
733733

734-
..note::
735-
736-
Everything described in this section is considered experimental,
737-
and should be expected to change in future releases.
738-
739-
Pre-built distributions of the experimental free-threaded build are available
734+
Pre-built distributions of the free-threaded build are available
740735
by installing tags with the ``t`` suffix.
741736

742737
..code::
@@ -885,7 +880,7 @@ versions before providing updates to users.
885880

886881
The two recommended use cases for this distribution are described below.
887882

888-
PythonApplication
883+
Pythonapplication
889884
------------------
890885

891886
An application written in Python does not necessarily require users to be aware
@@ -989,12 +984,7 @@ for the 64-bit version, `www.nuget.org/packages/pythonx86
989984
Free-threaded packages
990985
----------------------
991986

992-
..versionadded::3.13 (Experimental)
993-
994-
..note::
995-
996-
Everything described in this section is considered experimental,
997-
and should be expected to change in future releases.
987+
..versionadded::3.13
998988

999989
Packages containing free-threaded binaries are named
1000990
`python-freethreaded<https://www.nuget.org/packages/python-freethreaded>`_
@@ -1046,7 +1036,7 @@ please install Python 3.12.
10461036

10471037
.. _max-path:
10481038

1049-
Removing the MAX_PATHLimitation
1039+
Removing the MAX_PATHlimitation
10501040
================================
10511041

10521042
Windows historically has limited path lengths to 260 characters. This meant that
@@ -1327,7 +1317,7 @@ installation". In this case:
13271317
* Shortcuts are available for all users
13281318

13291319

1330-
Removing the MAX_PATHLimitation
1320+
Removing the MAX_PATHlimitation
13311321
--------------------------------
13321322

13331323
Windows historically has limited path lengths to 260 characters. This meant that
@@ -1350,7 +1340,7 @@ After changing the above option, no further configuration is required.
13501340

13511341
.. _install-quiet-option:
13521342

1353-
InstallingWithout UI
1343+
Installingwithout UI
13541344
---------------------
13551345

13561346
All of the options available in the installer UI can also be specified from the
@@ -1499,7 +1489,7 @@ example file sets the same options as the previous example:
14991489
15001490
.. _install-layout-option:
15011491

1502-
InstallingWithout Downloading
1492+
Installingwithout downloading
15031493
------------------------------
15041494

15051495
As some features of Python are not included in the initial installer download,
@@ -1540,15 +1530,10 @@ settings and replace any that have been removed or modified.
15401530
:ref:`launcher`, which has its own entry in Programs and Features.
15411531

15421532

1543-
InstallingFree-threadedBinaries
1533+
Installingfree-threadedbinaries
15441534
---------------------------------
15451535

1546-
..versionadded::3.13 (Experimental)
1547-
1548-
..note::
1549-
1550-
Everything described in this section is considered experimental,
1551-
and should be expected to change in future releases.
1536+
..versionadded::3.13
15521537

15531538
To install pre-built binaries with free-threading enabled (see:pep:`703`), you
15541539
should select "Customize installation". The second page of options includes the
@@ -1580,7 +1565,7 @@ builds.
15801565
Free-threaded binaries are also available:ref:`on nuget.org<windows-nuget>`.
15811566

15821567

1583-
PythonLauncher for Windows (Deprecated)
1568+
Pythonlauncher for Windows (deprecated)
15841569
========================================
15851570

15861571
..deprecated::3.14
@@ -1732,7 +1717,7 @@ have the script specify the version which should be used.
17321717
The key benefit of this is that a single launcher can support multiple Python
17331718
versions at the same time depending on the contents of the first line.
17341719

1735-
ShebangLines
1720+
Shebanglines
17361721
-------------
17371722

17381723
If the first line of a script file starts with ``#!``, it is known as a
@@ -1944,7 +1929,7 @@ should allow you to see what versions of Python were located, why a
19441929
particular version was chosen and the exact command-line used to execute the
19451930
target Python. It is primarily intended for testing and debugging.
19461931

1947-
DryRun
1932+
Dryrun
19481933
-------
19491934

19501935
If an environment variable:envvar:`!PYLAUNCHER_DRYRUN` is set (to any value),

‎pr-preview/pr-1148/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-
最後更新於 10月13, 2025 (00:20 UTC)。
317+
最後更新於 10月14, 2025 (00:20 UTC)。
318318

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

‎pr-preview/pr-1148/bugs.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ <h2>說明文件的錯誤<a class="headerlink" href="#documentation-bugs" title=
230230
</section>
231231
<sectionid="getting-started-contributing-to-python-yourself">
232232
<spanid="contributing-to-python"></span><h2>開始讓自己貢獻 Python<aclass="headerlink"href="#getting-started-contributing-to-python-yourself"title="連結到這個標頭"></a></h2>
233-
<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>
233+
<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>
234234
</section>
235235
</section>
236236

@@ -352,7 +352,7 @@ <h3>導航</h3>
352352
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
353353
<br>
354354
<br>
355-
最後更新於 10月13, 2025 (00:20 UTC)。
355+
最後更新於 10月14, 2025 (00:20 UTC)。
356356

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

‎pr-preview/pr-1148/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-
最後更新於 10月13, 2025 (00:20 UTC)。
326+
最後更新於 10月14, 2025 (00:20 UTC)。
327327

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ <h3>導航</h3>
432432
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
433433
<br>
434434
<br>
435-
最後更新於 10月13, 2025 (00:20 UTC)。
435+
最後更新於 10月14, 2025 (00:20 UTC)。
436436

437437
<ahref="/bugs.html">發現 bug</a>
438438

‎pr-preview/pr-1148/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-
最後更新於 10月13, 2025 (00:20 UTC)。
474+
最後更新於 10月14, 2025 (00:20 UTC)。
475475

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp