Skip to content

Commit 1dd9be6

Browse files
committed
Python 3.10.9
1 parent 300d812 commit 1dd9be6

File tree

67 files changed

+684
-167
lines changed

Some content is hidden

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

67 files changed

+684
-167
lines changed

Include/patchlevel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
/*--start constants--*/
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 10
21-
#define PY_MICRO_VERSION 8
21+
#define PY_MICRO_VERSION 9
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
2323
#define PY_RELEASE_SERIAL 0
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.10.8+"
26+
#define PY_VERSION "3.10.9"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

Lib/pydoc_data/topics.py

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Tue Oct 11 12:21:26 2022
2+
# Autogenerated by Sphinx on Tue Dec 6 18:31:02 2022
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -358,7 +358,7 @@
358358
'yield_expression)]\n'
359359
'\n'
360360
'The difference from normal Assignment statements is that only '
361-
'single\n'
361+
'a single\n'
362362
'target is allowed.\n'
363363
'\n'
364364
'For simple names as assignment targets, if in class or module '
@@ -408,12 +408,13 @@
408408
'analysis\n'
409409
' tools and IDEs.\n'
410410
'\n'
411-
'Changed in version 3.8: Now annotated assignments allow same\n'
412-
'expressions in the right hand side as the regular '
413-
'assignments.\n'
414-
'Previously, some expressions (like un-parenthesized tuple '
415-
'expressions)\n'
416-
'caused a syntax error.\n',
411+
'Changed in version 3.8: Now annotated assignments allow the '
412+
'same\n'
413+
'expressions in the right hand side as regular assignments. '
414+
'Previously,\n'
415+
'some expressions (like un-parenthesized tuple expressions) '
416+
'caused a\n'
417+
'syntax error.\n',
417418
'async': 'Coroutines\n'
418419
'**********\n'
419420
'\n'
@@ -2041,7 +2042,7 @@
20412042
'\n'
20422043
'* Mappings (instances of "dict") compare equal if and only if '
20432044
'they\n'
2044-
' have equal *(key, value)* pairs. Equality comparison of the '
2045+
' have equal "(key, value)" pairs. Equality comparison of the '
20452046
'keys and\n'
20462047
' values enforces reflexivity.\n'
20472048
'\n'
@@ -7225,7 +7226,7 @@
72257226
'the clauses had been separated out into individual import '
72267227
'statements.\n'
72277228
'\n'
7228-
'The details of the first step, finding and loading modules are\n'
7229+
'The details of the first step, finding and loading modules, are\n'
72297230
'described in greater detail in the section on the import system, '
72307231
'which\n'
72317232
'also describes the various types of packages and modules that can '
@@ -10999,8 +11000,9 @@
1099911000
'y)" is\n'
1100011001
'typically invalid without special support in "MyClass". To '
1100111002
'be able to\n'
11002-
'use that kind of patterns, the class needs to define a\n'
11003-
'*__match_args__* attribute.\n'
11003+
'use that kind of pattern, the class needs to define a '
11004+
'*__match_args__*\n'
11005+
'attribute.\n'
1100411006
'\n'
1100511007
'object.__match_args__\n'
1100611008
'\n'
@@ -11205,6 +11207,10 @@
1120511207
'*start* and\n'
1120611208
' *end* are interpreted as in slice notation.\n'
1120711209
'\n'
11210+
' If *sub* is empty, returns the number of empty strings '
11211+
'between\n'
11212+
' characters which is the length of the string plus one.\n'
11213+
'\n'
1120811214
"str.encode(encoding='utf-8', errors='strict')\n"
1120911215
'\n'
1121011216
' Return an encoded version of the string as a bytes '
@@ -11711,7 +11717,7 @@
1171111717
'followed by\n'
1171211718
' the string itself.\n'
1171311719
'\n'
11714-
'str.rsplit(sep=None, maxsplit=- 1)\n'
11720+
'str.rsplit(sep=None, maxsplit=-1)\n'
1171511721
'\n'
1171611722
' Return a list of the words in the string, using *sep* '
1171711723
'as the\n'
@@ -11752,7 +11758,7 @@
1175211758
" >>> 'Monty Python'.removesuffix(' Python')\n"
1175311759
" 'Monty'\n"
1175411760
'\n'
11755-
'str.split(sep=None, maxsplit=- 1)\n'
11761+
'str.split(sep=None, maxsplit=-1)\n'
1175611762
'\n'
1175711763
' Return a list of the words in the string, using *sep* '
1175811764
'as the\n'
@@ -13733,17 +13739,11 @@
1373313739
'dictionaries or\n'
1373413740
'other mutable types (that are compared by value rather than '
1373513741
'by object\n'
13736-
'identity) may not be used as keys. Numeric types used for '
13737-
'keys obey\n'
13738-
'the normal rules for numeric comparison: if two numbers '
13739-
'compare equal\n'
13740-
'(such as "1" and "1.0") then they can be used '
13741-
'interchangeably to index\n'
13742-
'the same dictionary entry. (Note however, that since '
13743-
'computers store\n'
13744-
'floating-point numbers as approximations it is usually '
13745-
'unwise to use\n'
13746-
'them as dictionary keys.)\n'
13742+
'identity) may not be used as keys. Values that compare equal '
13743+
'(such as\n'
13744+
'"1", "1.0", and "True") can be used interchangeably to index '
13745+
'the same\n'
13746+
'dictionary entry.\n'
1374713747
'\n'
1374813748
'class dict(**kwargs)\n'
1374913749
'class dict(mapping, **kwargs)\n'

0 commit comments

Comments
 (0)