Skip to content

Commit f992a60

Browse files
committed
Python 3.12.0b3
1 parent 225cc4c commit f992a60

File tree

44 files changed

+435
-111
lines changed

Some content is hidden

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

44 files changed

+435
-111
lines changed

Include/patchlevel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
#define PY_MINOR_VERSION 12
2121
#define PY_MICRO_VERSION 0
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA
23-
#define PY_RELEASE_SERIAL 2
23+
#define PY_RELEASE_SERIAL 3
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.12.0b2+"
26+
#define PY_VERSION "3.12.0b3"
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: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Tue Jun 6 16:12:51 2023
2+
# Autogenerated by Sphinx on Mon Jun 19 20:55:48 2023
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -6522,22 +6522,26 @@
65226522
'positional\n'
65236523
'argument, and if it’s a keyword, it refers to a named '
65246524
'keyword\n'
6525-
'argument. If the numerical arg_names in a format string '
6526-
'are 0, 1, 2,\n'
6527-
'… in sequence, they can all be omitted (not just some) and '
6528-
'the numbers\n'
6529-
'0, 1, 2, … will be automatically inserted in that order. '
6530-
'Because\n'
6531-
'*arg_name* is not quote-delimited, it is not possible to '
6532-
'specify\n'
6533-
'arbitrary dictionary keys (e.g., the strings "\'10\'" or '
6534-
'"\':-]\'") within\n'
6535-
'a format string. The *arg_name* can be followed by any '
6536-
'number of index\n'
6537-
'or attribute expressions. An expression of the form '
6538-
'"\'.name\'" selects\n'
6539-
'the named attribute using "getattr()", while an expression '
6540-
'of the form\n'
6525+
'argument. An *arg_name* is treated as a number if a call '
6526+
'to\n'
6527+
'"str.isdecimal()" on the string would return true. If the '
6528+
'numerical\n'
6529+
'arg_names in a format string are 0, 1, 2, … in sequence, '
6530+
'they can all\n'
6531+
'be omitted (not just some) and the numbers 0, 1, 2, … will '
6532+
'be\n'
6533+
'automatically inserted in that order. Because *arg_name* is '
6534+
'not quote-\n'
6535+
'delimited, it is not possible to specify arbitrary '
6536+
'dictionary keys\n'
6537+
'(e.g., the strings "\'10\'" or "\':-]\'") within a format '
6538+
'string. The\n'
6539+
'*arg_name* can be followed by any number of index or '
6540+
'attribute\n'
6541+
'expressions. An expression of the form "\'.name\'" selects '
6542+
'the named\n'
6543+
'attribute using "getattr()", while an expression of the '
6544+
'form\n'
65416545
'"\'[index]\'" does an index lookup using "__getitem__()".\n'
65426546
'\n'
65436547
'Changed in version 3.1: The positional argument specifiers '

0 commit comments

Comments
 (0)