Skip to content

Commit

Permalink
Python 3.12.0a2
Browse files Browse the repository at this point in the history
  • Loading branch information
Yhg1s committed Nov 14, 2022
1 parent db11568 commit 3b9d793
Show file tree
Hide file tree
Showing 107 changed files with 1,134 additions and 293 deletions.
4 changes: 2 additions & 2 deletions Include/patchlevel.h
Expand Up @@ -20,10 +20,10 @@
#define PY_MINOR_VERSION 12
#define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
#define PY_RELEASE_SERIAL 1
#define PY_RELEASE_SERIAL 2

/* Version as a string */
#define PY_VERSION "3.12.0a1+"
#define PY_VERSION "3.12.0a2"
/*--end constants--*/

/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
Expand Down
57 changes: 31 additions & 26 deletions Lib/pydoc_data/topics.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Tue Oct 25 00:07:40 2022
# Autogenerated by Sphinx on Mon Nov 14 12:13:19 2022
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
Expand Down Expand Up @@ -358,7 +358,7 @@
'yield_expression)]\n'
'\n'
'The difference from normal Assignment statements is that only '
'single\n'
'a single\n'
'target is allowed.\n'
'\n'
'For simple names as assignment targets, if in class or module '
Expand Down Expand Up @@ -408,12 +408,13 @@
'analysis\n'
' tools and IDEs.\n'
'\n'
'Changed in version 3.8: Now annotated assignments allow same\n'
'expressions in the right hand side as the regular '
'assignments.\n'
'Previously, some expressions (like un-parenthesized tuple '
'expressions)\n'
'caused a syntax error.\n',
'Changed in version 3.8: Now annotated assignments allow the '
'same\n'
'expressions in the right hand side as regular assignments. '
'Previously,\n'
'some expressions (like un-parenthesized tuple expressions) '
'caused a\n'
'syntax error.\n',
'async': 'Coroutines\n'
'**********\n'
'\n'
Expand Down Expand Up @@ -7320,7 +7321,7 @@
'the clauses had been separated out into individual import '
'statements.\n'
'\n'
'The details of the first step, finding and loading modules are\n'
'The details of the first step, finding and loading modules, are\n'
'described in greater detail in the section on the import system, '
'which\n'
'also describes the various types of packages and modules that can '
Expand Down Expand Up @@ -11314,6 +11315,10 @@
'*start* and\n'
' *end* are interpreted as in slice notation.\n'
'\n'
' If *sub* is empty, returns the number of empty strings '
'between\n'
' characters which is the length of the string plus one.\n'
'\n'
"str.encode(encoding='utf-8', errors='strict')\n"
'\n'
' Return an encoded version of the string as a bytes '
Expand Down Expand Up @@ -12360,10 +12365,12 @@
'2. As in Standard C, up to three octal digits are accepted.\n'
'\n'
' Changed in version 3.11: Octal escapes with value larger than\n'
' "0o377" produce a "DeprecationWarning". In a future Python '
'version\n'
' they will be a "SyntaxWarning" and eventually a '
'"SyntaxError".\n'
' "0o377" produce a "DeprecationWarning".\n'
'\n'
' Changed in version 3.12: Octal escapes with value larger than\n'
' "0o377" produce a "SyntaxWarning". In a future Python version '
'they\n'
' will be eventually a "SyntaxError".\n'
'\n'
'3. Unlike in Standard C, exactly two hex digits are required.\n'
'\n'
Expand Down Expand Up @@ -12398,9 +12405,13 @@
'\n'
' Changed in version 3.6: Unrecognized escape sequences produce '
'a\n'
' "DeprecationWarning". In a future Python version they will be '
' "DeprecationWarning".\n'
'\n'
' Changed in version 3.12: Unrecognized escape sequences produce '
'a\n'
' "SyntaxWarning" and eventually a "SyntaxError".\n'
' "SyntaxWarning". In a future Python version they will be '
'eventually\n'
' a "SyntaxError".\n'
'\n'
'Even in a raw literal, quotes can be escaped with a backslash, '
'but the\n'
Expand Down Expand Up @@ -13974,17 +13985,11 @@
'dictionaries or\n'
'other mutable types (that are compared by value rather than '
'by object\n'
'identity) may not be used as keys. Numeric types used for '
'keys obey\n'
'the normal rules for numeric comparison: if two numbers '
'compare equal\n'
'(such as "1" and "1.0") then they can be used '
'interchangeably to index\n'
'the same dictionary entry. (Note however, that since '
'computers store\n'
'floating-point numbers as approximations it is usually '
'unwise to use\n'
'them as dictionary keys.)\n'
'identity) may not be used as keys. Values that compare equal '
'(such as\n'
'"1", "1.0", and "True") can be used interchangeably to index '
'the same\n'
'dictionary entry.\n'
'\n'
'class dict(**kwargs)\n'
'class dict(mapping, **kwargs)\n'
Expand Down

0 comments on commit 3b9d793

Please sign in to comment.