Skip to content

Commit ed7c3ff

Browse files
committed
Python 3.11.0rc2
1 parent 335bd1e commit ed7c3ff

File tree

43 files changed

+436
-126
lines changed

Some content is hidden

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

43 files changed

+436
-126
lines changed

Include/patchlevel.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
#define PY_MINOR_VERSION 11
2121
#define PY_MICRO_VERSION 0
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
23-
#define PY_RELEASE_SERIAL 1
23+
#define PY_RELEASE_SERIAL 2
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.11.0rc1+"
26+
#define PY_VERSION "3.11.0rc2"
2727
/*--end constants--*/
2828

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

Lib/pydoc_data/topics.py

+29-41
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Fri Aug 5 15:44:44 2022
2+
# Autogenerated by Sphinx on Sun Sep 11 20:22:13 2022
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -3482,8 +3482,8 @@
34823482
' there is matched against the whole object rather than an '
34833483
'attribute.\n'
34843484
' For example "int(0|1)" matches the value "0", but not the '
3485-
'values\n'
3486-
' "0.0" or "False".\n'
3485+
'value\n'
3486+
' "0.0".\n'
34873487
'\n'
34883488
'In simple terms "CLS(P1, attr=P2)" matches only if the '
34893489
'following\n'
@@ -8983,31 +8983,7 @@
89838983
' still alive. The list is in definition order. Example:\n'
89848984
'\n'
89858985
' >>> int.__subclasses__()\n'
8986-
" [<class 'bool'>]\n"
8987-
'\n'
8988-
'-[ Footnotes ]-\n'
8989-
'\n'
8990-
'[1] Additional information on these special methods may be '
8991-
'found in\n'
8992-
' the Python Reference Manual (Basic customization).\n'
8993-
'\n'
8994-
'[2] As a consequence, the list "[1, 2]" is considered equal '
8995-
'to "[1.0,\n'
8996-
' 2.0]", and similarly for tuples.\n'
8997-
'\n'
8998-
'[3] They must have since the parser can’t tell the type of '
8999-
'the\n'
9000-
' operands.\n'
9001-
'\n'
9002-
'[4] Cased characters are those with general category '
9003-
'property being\n'
9004-
' one of “Lu” (Letter, uppercase), “Ll” (Letter, '
9005-
'lowercase), or “Lt”\n'
9006-
' (Letter, titlecase).\n'
9007-
'\n'
9008-
'[5] To format only a tuple you should therefore provide a '
9009-
'singleton\n'
9010-
' tuple whose only element is the tuple to be formatted.\n',
8986+
" [<class 'bool'>]\n",
90118987
'specialnames': 'Special method names\n'
90128988
'********************\n'
90138989
'\n'
@@ -12256,8 +12232,8 @@
1225612232
'| Escape Sequence | Meaning | Notes '
1225712233
'|\n'
1225812234
'|===================|===================================|=========|\n'
12259-
'| "\\newline" | Backslash and newline ignored '
12260-
'| |\n'
12235+
'| "\\"<newline> | Backslash and newline ignored | '
12236+
'(1) |\n'
1226112237
'+-------------------+-----------------------------------+---------+\n'
1226212238
'| "\\\\" | Backslash ("\\") '
1226312239
'| |\n'
@@ -12290,10 +12266,10 @@
1229012266
'| |\n'
1229112267
'+-------------------+-----------------------------------+---------+\n'
1229212268
'| "\\ooo" | Character with octal value *ooo* | '
12293-
'(1,3) |\n'
12269+
'(2,4) |\n'
1229412270
'+-------------------+-----------------------------------+---------+\n'
1229512271
'| "\\xhh" | Character with hex value *hh* | '
12296-
'(2,3) |\n'
12272+
'(3,4) |\n'
1229712273
'+-------------------+-----------------------------------+---------+\n'
1229812274
'\n'
1229912275
'Escape sequences only recognized in string literals are:\n'
@@ -12303,45 +12279,57 @@
1230312279
'|\n'
1230412280
'|===================|===================================|=========|\n'
1230512281
'| "\\N{name}" | Character named *name* in the | '
12306-
'(4) |\n'
12282+
'(5) |\n'
1230712283
'| | Unicode database | '
1230812284
'|\n'
1230912285
'+-------------------+-----------------------------------+---------+\n'
1231012286
'| "\\uxxxx" | Character with 16-bit hex value | '
12311-
'(5) |\n'
12287+
'(6) |\n'
1231212288
'| | *xxxx* | '
1231312289
'|\n'
1231412290
'+-------------------+-----------------------------------+---------+\n'
1231512291
'| "\\Uxxxxxxxx" | Character with 32-bit hex value | '
12316-
'(6) |\n'
12292+
'(7) |\n'
1231712293
'| | *xxxxxxxx* | '
1231812294
'|\n'
1231912295
'+-------------------+-----------------------------------+---------+\n'
1232012296
'\n'
1232112297
'Notes:\n'
1232212298
'\n'
12323-
'1. As in Standard C, up to three octal digits are accepted.\n'
12299+
'1. A backslash can be added at the end of a line to ignore the\n'
12300+
' newline:\n'
12301+
'\n'
12302+
" >>> 'This string will not include \\\n"
12303+
" ... backslashes or newline characters.'\n"
12304+
" 'This string will not include backslashes or newline "
12305+
"characters.'\n"
12306+
'\n'
12307+
' The same result can be achieved using triple-quoted strings, '
12308+
'or\n'
12309+
' parentheses and string literal concatenation.\n'
12310+
'\n'
12311+
'2. As in Standard C, up to three octal digits are accepted.\n'
1232412312
'\n'
1232512313
' Changed in version 3.11: Octal escapes with value larger than\n'
1232612314
' "0o377" produce a "DeprecationWarning". In a future Python '
1232712315
'version\n'
1232812316
' they will be a "SyntaxWarning" and eventually a '
1232912317
'"SyntaxError".\n'
1233012318
'\n'
12331-
'2. Unlike in Standard C, exactly two hex digits are required.\n'
12319+
'3. Unlike in Standard C, exactly two hex digits are required.\n'
1233212320
'\n'
12333-
'3. In a bytes literal, hexadecimal and octal escapes denote the '
12321+
'4. In a bytes literal, hexadecimal and octal escapes denote the '
1233412322
'byte\n'
1233512323
' with the given value. In a string literal, these escapes '
1233612324
'denote a\n'
1233712325
' Unicode character with the given value.\n'
1233812326
'\n'
12339-
'4. Changed in version 3.3: Support for name aliases [1] has been\n'
12327+
'5. Changed in version 3.3: Support for name aliases [1] has been\n'
1234012328
' added.\n'
1234112329
'\n'
12342-
'5. Exactly four hex digits are required.\n'
12330+
'6. Exactly four hex digits are required.\n'
1234312331
'\n'
12344-
'6. Any Unicode character can be encoded this way. Exactly eight '
12332+
'7. Any Unicode character can be encoded this way. Exactly eight '
1234512333
'hex\n'
1234612334
' digits are required.\n'
1234712335
'\n'

0 commit comments

Comments
 (0)