8000 Python 3.12.0rc1 · python/cpython@63bcd91 · GitHub
[go: up one dir, main page]

Skip to content

Commit 63bcd91

Browse files
committed
Python 3.12.0rc1
1 parent 236cdad commit 63bcd91

File tree

52 files changed

+515
-124
lines changed

Some content is hidden

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

52 files changed

+515
-124
lines changed

Include/patchlevel.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 12
2121
#define PY_MICRO_VERSION 0
22-
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA
23-
#define PY_RELEASE_SERIAL 4
22+
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
23+
#define PY_RELEASE_SERIAL 1
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.12.0b4+"
26+
#define PY_VERSION "3.12.0rc1"
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: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Tue Jul 11 14:22:58 2023
2+
# Autogenerated by Sphinx on Sat Aug 5 14:10:40 2023
33
# as part of the release process.
44
topics = {'assert': 'The "assert" statement\n'
55
'**********************\n'
@@ -9689,7 +9689,8 @@
96899689
' still alive. The list is in definition order. Example:\n'
96909690
'\n'
96919691
' >>> int.__subclasses__()\n'
9692-
" [<class 'bool'>]\n",
9692+
" [<class 'bool'>, <enum 'IntEnum'>, <flag 'IntFlag'>, "
9693+
"<class 're._constants._NamedIntConstant'>]\n",
96939694
'specialnames': 'Special method names\n'
96949695
'********************\n'
96959696
'\n'
@@ -12558,7 +12559,7 @@
1255812559
'followed by\n'
1255912560
' the string itself.\n'
1256012561
'\n'
12561-
'str.rsplit(sep=None, maxsplit=- 1)\n'
12562+
'str.rsplit(sep=None, maxsplit=-1)\n'
1256212563
'\n'
1256312564
' Return a list of the words in the string, using *sep* '
1256412565
'as the\n'
@@ -12599,7 +12600,7 @@
1259912600
" >>> 'Monty Python'.removesuffix(' Python')\n"
1260012601
" 'Monty'\n"
1260112602
'\n'
12602-
'str.split(sep=None, maxsplit=- 1)\n'
12603+
EBAC 'str.split(sep=None, maxsplit=-1)\n'
1260312604
'\n'
1260412605
' Return a list of the words in the string, using *sep* '
1260512606
'as the\n'
@@ -13009,6 +13010,10 @@
1300913010
'the\n'
1301013011
'literal, i.e. either "\'" or """.)\n'
1301113012
'\n'
13013+
'\n'
13014+
'Escape sequences\n'
13015+
'================\n'
13016+
'\n'
1301213017
'Unless an "\'r\'" or "\'R\'" prefix is present, escape sequences '
1301313018
'in string\n'
1301413019
'and bytes literals are interpreted according to rules similar to '
@@ -15184,10 +15189,12 @@
1518415189
' >>> # set operations\n'
1518515190
" >>> keys & {'eggs', 'bacon', 'salad'}\n"
1518615191
" {'bacon'}\n"
15187-
" >>> keys ^ {'sausage', 'juice'}\n"
15188-
" {'juice', 'sausage', 'bacon', 'spam'}\n"
15189-
" >>> keys | ['juice', 'juice', 'juice']\n"
15190-
" {'juice', 'sausage', 'bacon', 'spam', 'eggs'}\n"
15192+
" >>> keys ^ {'sausage', 'juice'} == {'juice', 'sausage', "
15193+
"'bacon', 'spam'}\n"
15194+
' True\n'
15195+
" >>> keys | ['juice', 'juice', 'juice'] == {'bacon', "
15196+
"'spam', 'juice'}\n"
15197+
' True\n'
1519115198
'\n'
1519215199
' >>> # get back a read-only proxy for the original '
1519315200
'dictionary\n'

0 commit comments

Comments
 (0)
0