Skip to content

Commit

Permalink
Python 3.13.0b3
Browse files Browse the repository at this point in the history
  • Loading branch information
Yhg1s committed Jun 27, 2024
1 parent 49e5740 commit 7b41395
Show file tree
Hide file tree
Showing 69 changed files with 737 additions and 190 deletions.
4 changes: 2 additions & 2 deletions Include/patchlevel.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
#define PY_MINOR_VERSION 13
#define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA
#define PY_RELEASE_SERIAL 2
#define PY_RELEASE_SERIAL 3

/* Version as a string */
#define PY_VERSION "3.13.0b2+"
#define PY_VERSION "3.13.0b3"
/*--end constants--*/

/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
Expand Down
121 changes: 70 additions & 51 deletions Lib/pydoc_data/topics.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Wed Jun 5 16:43:53 2024
# Autogenerated by Sphinx on Thu Jun 27 15:02:53 2024
# as part of the release process.
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
Expand Down Expand Up @@ -362,21 +362,26 @@
'a single\n'
'target is allowed.\n'
'\n'
'For simple names as assignment targets, if in class or module '
'scope,\n'
'the annotations are evaluated and stored in a special class or '
'module\n'
'attribute "__annotations__" that is a dictionary mapping from '
'variable\n'
'names (mangled if private) to evaluated annotations. This '
'attribute is\n'
'writable and is automatically created at the start of class or '
'module\n'
'body execution, if annotations are found statically.\n'
'\n'
'For expressions as assignment targets, the annotations are '
'The assignment target is considered “simple” if it consists of '
'a\n'
'single name that is not enclosed in parentheses. For simple '
'assignment\n'
'targets, if in class or module scope, the annotations are '
'evaluated\n'
'if in class or module scope, but not stored.\n'
'and stored in a special class or module attribute '
'"__annotations__"\n'
'that is a dictionary mapping from variable names (mangled if '
'private)\n'
'to evaluated annotations. This attribute is writable and is\n'
'automatically created at the start of class or module body '
'execution,\n'
'if annotations are found statically.\n'
'\n'
'If the assignment target is not simple (an attribute, '
'subscript node,\n'
'or parenthesized name), the annotation is evaluated if in '
'class or\n'
'module scope, but not stored.\n'
'\n'
'If a name is annotated in a function scope, then this name is '
'local\n'
Expand Down Expand Up @@ -2388,18 +2393,16 @@
'An\n'
'expression-less "except" clause, if present, must be last; it '
'matches\n'
'any exception. For an "except" clause with an expression, that\n'
'expression is evaluated, and the clause matches the exception if '
'the\n'
'resulting object is “compatible” with the exception. An object '
'is\n'
'compatible with an exception if the object is the class or a '
'*non-\n'
'virtual base class* of the exception object, or a tuple '
'containing an\n'
'item that is the class or a non-virtual base class of the '
'exception\n'
'object.\n'
'any exception.\n'
'\n'
'For an "except" clause with an expression, the expression must\n'
'evaluate to an exception type or a tuple of exception types. '
'The\n'
'raised exception matches an "except" clause whose expression '
'evaluates\n'
'to the class or a *non-virtual base class* of the exception '
'object, or\n'
'to a tuple that contains such a class.\n'
'\n'
'If no "except" clause matches the exception, the search for an\n'
'exception handler continues in the surrounding code and on the\n'
Expand Down Expand Up @@ -2548,13 +2551,16 @@
' ...\n'
" ExceptionGroup('', (BlockingIOError()))\n"
'\n'
'An "except*" clause must have a matching type, and this type '
'cannot be\n'
'a subclass of "BaseExceptionGroup". It is not possible to mix '
'"except"\n'
'and "except*" in the same "try". "break", "continue" and '
'"return"\n'
'cannot appear in an "except*" clause.\n'
'An "except*" clause must have a matching expression; it cannot '
'be\n'
'"except*:". Furthermore, this expression cannot contain '
'exception\n'
'group types, because that would have ambiguous semantics.\n'
'\n'
'It is not possible to mix "except" and "except*" in the same '
'"try".\n'
'"break", "continue" and "return" cannot appear in an "except*" '
'clause.\n'
'\n'
'\n'
'"else" clause\n'
Expand Down Expand Up @@ -4536,6 +4542,10 @@
' It is not guaranteed that "__del__()" methods are called '
'for\n'
' objects that still exist when the interpreter exits.\n'
' "weakref.finalize" provides a straightforward way to '
'register a\n'
' cleanup function to be called when an object is garbage '
'collected.\n'
'\n'
' Note:\n'
'\n'
Expand Down Expand Up @@ -9995,6 +10005,10 @@
' It is not guaranteed that "__del__()" methods are called '
'for\n'
' objects that still exist when the interpreter exits.\n'
' "weakref.finalize" provides a straightforward way to '
'register a\n'
' cleanup function to be called when an object is garbage '
'collected.\n'
'\n'
' Note:\n'
'\n'
Expand Down Expand Up @@ -13489,14 +13503,15 @@
'clauses in turn until one is found that matches the exception. An\n'
'expression-less "except" clause, if present, must be last; it '
'matches\n'
'any exception. For an "except" clause with an expression, that\n'
'expression is evaluated, and the clause matches the exception if the\n'
'resulting object is “compatible” with the exception. An object is\n'
'compatible with an exception if the object is the class or a *non-\n'
'virtual base class* of the exception object, or a tuple containing '
'an\n'
'item that is the class or a non-virtual base class of the exception\n'
'object.\n'
'any exception.\n'
'\n'
'For an "except" clause with an expression, the expression must\n'
'evaluate to an exception type or a tuple of exception types. The\n'
'raised exception matches an "except" clause whose expression '
'evaluates\n'
'to the class or a *non-virtual base class* of the exception object, '
'or\n'
'to a tuple that contains such a class.\n'
'\n'
'If no "except" clause matches the exception, the search for an\n'
'exception handler continues in the surrounding code and on the\n'
Expand Down Expand Up @@ -13625,12 +13640,13 @@
' ...\n'
" ExceptionGroup('', (BlockingIOError()))\n"
'\n'
'An "except*" clause must have a matching type, and this type cannot '
'be\n'
'a subclass of "BaseExceptionGroup". It is not possible to mix '
'"except"\n'
'and "except*" in the same "try". "break", "continue" and "return"\n'
'cannot appear in an "except*" clause.\n'
'An "except*" clause must have a matching expression; it cannot be\n'
'"except*:". Furthermore, this expression cannot contain exception\n'
'group types, because that would have ambiguous semantics.\n'
'\n'
'It is not possible to mix "except" and "except*" in the same "try".\n'
'"break", "continue" and "return" cannot appear in an "except*" '
'clause.\n'
'\n'
'\n'
'"else" clause\n'
Expand Down Expand Up @@ -16085,7 +16101,9 @@
'\n'
'Notes:\n'
'\n'
'1. *t* must have the same length as the slice it is replacing.\n'
'1. If *k* is not equal to "1", *t* must have the same length as '
'the\n'
' slice it is replacing.\n'
'\n'
'2. The optional argument *i* defaults to "-1", so that by '
'default the\n'
Expand Down Expand Up @@ -16549,8 +16567,9 @@
'\n'
'Notes:\n'
'\n'
'1. *t* must have the same length as the slice it is '
'replacing.\n'
'1. If *k* is not equal to "1", *t* must have the same '
'length as the\n'
' slice it is replacing.\n'
'\n'
'2. The optional argument *i* defaults to "-1", so that '
'by default the\n'
Expand Down
Loading

0 comments on commit 7b41395

Please sign in to comment.