Python 3.11.0a5

This commit is contained in:
Pablo Galindo 2022-02-03 18:34:09 +00:00
parent 2d080347d7
commit c4e4b91557
No known key found for this signature in database
GPG key ID: FFE87404168BD847
99 changed files with 1035 additions and 238 deletions

View file

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Thu Jan 13 19:37:48 2022
# Autogenerated by Sphinx on Thu Feb 3 18:35:23 2022
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
@ -2518,22 +2518,21 @@ topics = {'assert': 'The "assert" statement\n'
' >>> print(sys.exc_info())\n'
' (None, None, None)\n'
'\n'
'The "except*" clause(s) are used for handling "ExceptionGroup`s. '
'The "except*" clause(s) are used for handling "ExceptionGroup"s. '
'The\n'
'exception type for matching is interpreted as in the case of\n'
':keyword:`except", but in the case of exception groups we can '
'have\n'
'partial matches when the type matches some of the exceptions in '
'the\n'
'group. This means that multiple except* clauses can execute, '
'each\n'
'handling part of the exception group. Each clause executes once '
'and\n'
'handles an exception group of all matching exceptions. Each '
'exception\n'
'in the group is handled by at most one except* clause, the first '
'exception type for matching is interpreted as in the case of '
'"except",\n'
'but in the case of exception groups we can have partial matches '
'when\n'
'the type matches some of the exceptions in the group. This means '
'that\n'
'matches it.\n'
'multiple except* clauses can execute, each handling part of the\n'
'exception group. Each clause executes once and handles an '
'exception\n'
'group of all matching exceptions. Each exception in the group '
'is\n'
'handled by at most one except* clause, the first that matches '
'it.\n'
'\n'
' >>> try:\n'
' ... raise ExceptionGroup("eg",\n'
@ -8082,7 +8081,11 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' The built-in function "int()" falls back to '
'"__trunc__()" if\n'
' neither "__int__()" nor "__index__()" is defined.\n',
' neither "__int__()" nor "__index__()" is defined.\n'
'\n'
' Changed in version 3.11: The delegation of "int()" to '
'"__trunc__()"\n'
' is deprecated.\n',
'objects': 'Objects, values and types\n'
'*************************\n'
'\n'
@ -8445,12 +8448,12 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' raise_stmt ::= "raise" [expression ["from" expression]]\n'
'\n'
'If no expressions are present, "raise" re-raises the last '
'exception\n'
'that was active in the current scope. If no exception is active '
'in\n'
'the current scope, a "RuntimeError" exception is raised indicating\n'
'that this is an error.\n'
'If no expressions are present, "raise" re-raises the exception that '
'is\n'
'currently being handled, which is also known as the *active\n'
'exception*. If there isnt currently an active exception, a\n'
'"RuntimeError" exception is raised indicating that this is an '
'error.\n'
'\n'
'Otherwise, "raise" evaluates the first expression as the exception\n'
'object. It must be either a subclass or an instance of\n'
@ -8505,11 +8508,14 @@ topics = {'assert': 'The "assert" statement\n'
' File "<stdin>", line 4, in <module>\n'
' RuntimeError: Something bad happened\n'
'\n'
'A similar mechanism works implicitly if an exception is raised '
'inside\n'
'an exception handler or a "finally" clause: the previous exception '
'is\n'
'then attached as the new exceptions "__context__" attribute:\n'
'A similar mechanism works implicitly if a new exception is raised '
'when\n'
'an exception is already being handled. An exception may be '
'handled\n'
'when an "except" or "finally" clause, or a "with" statement, is '
'used.\n'
'The previous exception is then attached as the new exceptions\n'
'"__context__" attribute:\n'
'\n'
' >>> try:\n'
' ... print(1 / 0)\n'
@ -10995,6 +11001,10 @@ topics = {'assert': 'The "assert" statement\n'
'if\n'
' neither "__int__()" nor "__index__()" is defined.\n'
'\n'
' Changed in version 3.11: The delegation of "int()" to '
'"__trunc__()"\n'
' is deprecated.\n'
'\n'
'\n'
'With Statement Context Managers\n'
'===============================\n'
@ -12562,17 +12572,16 @@ topics = {'assert': 'The "assert" statement\n'
' >>> print(sys.exc_info())\n'
' (None, None, None)\n'
'\n'
'The "except*" clause(s) are used for handling "ExceptionGroup`s. The\n'
'exception type for matching is interpreted as in the case of\n'
':keyword:`except", but in the case of exception groups we can have\n'
'partial matches when the type matches some of the exceptions in the\n'
'group. This means that multiple except* clauses can execute, each\n'
'handling part of the exception group. Each clause executes once and\n'
'handles an exception group of all matching exceptions. Each '
'exception\n'
'in the group is handled by at most one except* clause, the first '
'The "except*" clause(s) are used for handling "ExceptionGroup"s. The\n'
'exception type for matching is interpreted as in the case of '
'"except",\n'
'but in the case of exception groups we can have partial matches when\n'
'the type matches some of the exceptions in the group. This means '
'that\n'
'matches it.\n'
'multiple except* clauses can execute, each handling part of the\n'
'exception group. Each clause executes once and handles an exception\n'
'group of all matching exceptions. Each exception in the group is\n'
'handled by at most one except* clause, the first that matches it.\n'
'\n'
' >>> try:\n'
' ... raise ExceptionGroup("eg",\n'