Skip to content

Commit 7651f58

Browse files
authored
Merge branch '3.13' into gh-118486-doc-3.13
2 parents f50c07d + 632682c commit 7651f58

File tree

249 files changed

+729
-569
lines changed

Some content is hidden

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

249 files changed

+729
-569
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,11 @@ on:
88
push:
99
branches:
1010
- 'main'
11-
- '3.12'
12-
- '3.11'
13-
- '3.10'
14-
- '3.9'
15-
- '3.8'
11+
- '3.*'
1612
pull_request:
1713
branches:
1814
- 'main'
19-
- '3.12'
20-
- '3.11'
21-
- '3.10'
22-
- '3.9'
23-
- '3.8'
15+
- '3.*'
2416

2517
permissions:
2618
contents: read

Doc/c-api/object.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Object Protocol
6565
6666
Properly handle returning :c:data:`Py_NotImplemented` from within a C
6767
function (that is, create a new :term:`strong reference`
68-
to NotImplemented and return it).
68+
to :const:`NotImplemented` and return it).
6969
7070
7171
.. c:macro:: Py_PRINT_RAW

Doc/library/__future__.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
:mod:`__future__` --- Future statement definitions
2-
==================================================
1+
:mod:`!__future__` --- Future statement definitions
2+
===================================================
33

44
.. module:: __future__
55
:synopsis: Future statement definitions

Doc/library/__main__.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
:mod:`__main__` --- Top-level code environment
2-
==============================================
1+
:mod:`!__main__` --- Top-level code environment
2+
===============================================
33

44
.. module:: __main__
55
:synopsis: The environment where top-level code is run. Covers command-line

Doc/library/_thread.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
:mod:`_thread` --- Low-level threading API
2-
==========================================
1+
:mod:`!_thread` --- Low-level threading API
2+
===========================================
33

44
.. module:: _thread
55
:synopsis: Low-level threading API.
@@ -169,14 +169,14 @@ Lock objects have the following methods:
169169
time can acquire a lock --- that's their reason for existence).
170170

171171
If the *blocking* argument is present, the action depends on its
172-
value: if it is False, the lock is only acquired if it can be acquired
173-
immediately without waiting, while if it is True, the lock is acquired
172+
value: if it is false, the lock is only acquired if it can be acquired
173+
immediately without waiting, while if it is true, the lock is acquired
174174
unconditionally as above.
175175

176176
If the floating-point *timeout* argument is present and positive, it
177177
specifies the maximum wait time in seconds before returning. A negative
178178
*timeout* argument specifies an unbounded wait. You cannot specify
179-
a *timeout* if *blocking* is False.
179+
a *timeout* if *blocking* is false.
180180

181181
The return value is ``True`` if the lock is acquired successfully,
182182
``False`` if not.

Doc/library/abc.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
:mod:`abc` --- Abstract Base Classes
2-
====================================
1+
:mod:`!abc` --- Abstract Base Classes
2+
=====================================
33

44
.. module:: abc
55
:synopsis: Abstract base classes according to :pep:`3119`.

Doc/library/argparse.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
:mod:`argparse` --- Parser for command-line options, arguments and sub-commands
2-
===============================================================================
1+
:mod:`!argparse` --- Parser for command-line options, arguments and sub-commands
2+
================================================================================
33

44
.. module:: argparse
55
:synopsis: Command-line option and argument parsing library.

Doc/library/array.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
:mod:`array` --- Efficient arrays of numeric values
2-
===================================================
1+
:mod:`!array` --- Efficient arrays of numeric values
2+
====================================================
33

44
.. module:: array
55
:synopsis: Space efficient arrays of uniformly typed numeric values.

Doc/library/ast.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
:mod:`ast` --- Abstract Syntax Trees
2-
====================================
1+
:mod:`!ast` --- Abstract Syntax Trees
2+
=====================================
33

44
.. module:: ast
55
:synopsis: Abstract Syntax Tree classes and manipulation.

Doc/library/asyncio-eventloop.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ Creating network servers
796796
:class:`str`, :class:`bytes`, and :class:`~pathlib.Path` paths
797797
are supported.
798798

799-
If *cleanup_socket* is True then the Unix socket will automatically
799+
If *cleanup_socket* is true then the Unix socket will automatically
800800
be removed from the filesystem when the server is closed, unless the
801801
socket has been replaced after the server has been created.
802802

0 commit comments

Comments
 (0)