Skip to content

Commit f377153

Browse files
committed
Python 3.10.5
1 parent fd247db commit f377153

File tree

82 files changed

+856
-215
lines changed

Some content is hidden

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

82 files changed

+856
-215
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 4
21+
#define PY_MICRO_VERSION 5
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.4+"
26+
#define PY_VERSION "3.10.5"
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: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Wed Mar 23 20:11:40 2022
2+
# Autogenerated by Sphinx on Mon Jun 6 12:53:10 2022
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -93,11 +93,7 @@
9393
' optionally in parentheses, the object is assigned to that '
9494
'target.\n'
9595
'\n'
96-
'* Else: The object must be an iterable with the same number of '
97-
'items\n'
98-
' as there are targets in the target list, and the items are '
99-
'assigned,\n'
100-
' from left to right, to the corresponding targets.\n'
96+
'* Else:\n'
10197
'\n'
10298
' * If the target list contains one target prefixed with an '
10399
'asterisk,\n'
@@ -4812,7 +4808,10 @@
48124808
'is\n'
48134809
'applied to separating the commands; the input is split at the '
48144810
'first\n'
4815-
'";;" pair, even if it is in the middle of a quoted string.\n'
4811+
'";;" pair, even if it is in the middle of a quoted string. A\n'
4812+
'workaround for strings with double semicolons is to use '
4813+
'implicit\n'
4814+
'string concatenation "\';\'\';\'" or "";"";"".\n'
48164815
'\n'
48174816
'If a file ".pdbrc" exists in the user’s home directory or in '
48184817
'the\n'
@@ -7269,12 +7268,12 @@
72697268
'Examples:\n'
72707269
'\n'
72717270
' import foo # foo imported and bound locally\n'
7272-
' import foo.bar.baz # foo.bar.baz imported, foo bound '
7273-
'locally\n'
7274-
' import foo.bar.baz as fbb # foo.bar.baz imported and bound as '
7275-
'fbb\n'
7276-
' from foo.bar import baz # foo.bar.baz imported and bound as '
7277-
'baz\n'
7271+
' import foo.bar.baz # foo, foo.bar, and foo.bar.baz '
7272+
'imported, foo bound locally\n'
7273+
' import foo.bar.baz as fbb # foo, foo.bar, and foo.bar.baz '
7274+
'imported, foo.bar.baz bound as fbb\n'
7275+
' from foo.bar import baz # foo, foo.bar, and foo.bar.baz '
7276+
'imported, foo.bar.baz bound as baz\n'
72787277
' from foo import attr # foo imported and foo.attr bound as '
72797278
'attr\n'
72807279
'\n'
@@ -8189,7 +8188,7 @@
81898188
'| "x(arguments...)", "x.attribute" | '
81908189
'attribute reference |\n'
81918190
'+-------------------------------------------------+---------------------------------------+\n'
8192-
'| "await" "x" | '
8191+
'| "await x" | '
81938192
'Await expression |\n'
81948193
'+-------------------------------------------------+---------------------------------------+\n'
81958194
'| "**" | '
@@ -8225,7 +8224,7 @@
82258224
'| ">=", "!=", "==" | '
82268225
'tests and identity tests |\n'
82278226
'+-------------------------------------------------+---------------------------------------+\n'
8228-
'| "not" "x" | '
8227+
'| "not x" | '
82298228
'Boolean NOT |\n'
82308229
'+-------------------------------------------------+---------------------------------------+\n'
82318230
'| "and" | '
@@ -11988,9 +11987,13 @@
1198811987
' >>> "they\'re bill\'s friends from the UK".title()\n'
1198911988
' "They\'Re Bill\'S Friends From The Uk"\n'
1199011989
'\n'
11991-
' A workaround for apostrophes can be constructed using '
11992-
'regular\n'
11993-
' expressions:\n'
11990+
' The "string.capwords()" function does not have this '
11991+
'problem, as it\n'
11992+
' splits words on spaces only.\n'
11993+
'\n'
11994+
' Alternatively, a workaround for apostrophes can be '
11995+
'constructed\n'
11996+
' using regular expressions:\n'
1199411997
'\n'
1199511998
' >>> import re\n'
1199611999
' >>> def titlecase(s):\n'
@@ -12112,12 +12115,15 @@
1211212115
'single quotes ("\'") or double quotes ("""). They can also be '
1211312116
'enclosed\n'
1211412117
'in matching groups of three single or double quotes (these are\n'
12115-
'generally referred to as *triple-quoted strings*). The '
12116-
'backslash\n'
12117-
'("\\") character is used to escape characters that otherwise have '
12118-
'a\n'
12119-
'special meaning, such as newline, backslash itself, or the quote\n'
12118+
'generally referred to as *triple-quoted strings*). The backslash '
12119+
'("\\")\n'
12120+
'character is used to give special meaning to otherwise ordinary\n'
12121+
'characters like "n", which means ‘newline’ when escaped ("\\n"). '
12122+
'It can\n'
12123+
'also be used to escape characters that otherwise have a special\n'
12124+
'meaning, such as newline, backslash itself, or the quote '
1212012125
'character.\n'
12126+
'See escape sequences below for examples.\n'
1212112127
'\n'
1212212128
'Bytes literals are always prefixed with "\'b\'" or "\'B\'"; they '
1212312129
'produce\n'
@@ -13735,14 +13741,6 @@
1373513741
'unwise to use\n'
1373613742
'them as dictionary keys.)\n'
1373713743
'\n'
13738-
'Dictionaries can be created by placing a comma-separated '
13739-
'list of "key:\n'
13740-
'value" pairs within braces, for example: "{\'jack\': 4098, '
13741-
"'sjoerd':\n"
13742-
'4127}" or "{4098: \'jack\', 4127: \'sjoerd\'}", or by the '
13743-
'"dict"\n'
13744-
'constructor.\n'
13745-
'\n'
1374613744
'class dict(**kwargs)\n'
1374713745
'class dict(mapping, **kwargs)\n'
1374813746
'class dict(iterable, **kwargs)\n'

0 commit comments

Comments
 (0)