Python 3.11.1

This commit is contained in:
Pablo Galindo 2022-12-06 19:04:38 +00:00
parent 2182a71eed
commit a7a450f84a
154 changed files with 1632 additions and 370 deletions

View file

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Mon Oct 24 18:35:07 2022
# Autogenerated by Sphinx on Tue Dec 6 19:05:00 2022
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
@ -358,7 +358,7 @@ topics = {'assert': 'The "assert" statement\n'
'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 '
@ -408,12 +408,13 @@ topics = {'assert': 'The "assert" statement\n'
'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'
@ -2551,12 +2552,13 @@ topics = {'assert': 'The "assert" statement\n'
'that\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'
'exception group. Each clause executes at most once and handles '
'an\n'
'exception group of all matching exceptions. Each exception in '
'the\n'
'group is handled by at most one "except*" clause, the first '
'that\n'
'matches it.\n'
'\n'
' >>> try:\n'
' ... raise ExceptionGroup("eg",\n'
@ -2579,21 +2581,32 @@ topics = {'assert': 'The "assert" statement\n'
' | ValueError: 1\n'
' +------------------------------------\n'
'\n'
' Any remaining exceptions that were not handled by any '
':keyword:`!except*`\n'
' clause are re-raised at the end, combined into an exception '
'group along with\n'
' all exceptions that were raised from within '
':keyword:`!except*` clauses.\n'
'Any remaining exceptions that were not handled by any "except*" '
'clause\n'
'are re-raised at the end, combined into an exception group along '
'with\n'
'all exceptions that were raised from within "except*" clauses.\n'
'\n'
' An :keyword:`!except*` clause must have a matching type,\n'
' and this type cannot be a subclass of '
':exc:`BaseExceptionGroup`.\n'
' It is not possible to mix :keyword:`except` and '
':keyword:`!except*`\n'
' in the same :keyword:`try`.\n'
' :keyword:`break`, :keyword:`continue` and :keyword:`return`\n'
' cannot appear in an :keyword:`!except*` clause.\n'
'If the raised exception is not an exception group and its type '
'matches\n'
'one of the "except*" clauses, it is caught and wrapped by an '
'exception\n'
'group with an empty message string.\n'
'\n'
' >>> try:\n'
' ... raise BlockingIOError\n'
' ... except* BlockingIOError as e:\n'
' ... print(repr(e))\n'
' ...\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'
'\n'
'\n'
'"else" clause\n'
@ -7308,7 +7321,7 @@ topics = {'assert': 'The "assert" statement\n'
'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 '
@ -11096,8 +11109,9 @@ topics = {'assert': 'The "assert" statement\n'
'y)" is\n'
'typically invalid without special support in "MyClass". To '
'be able to\n'
'use that kind of patterns, the class needs to define a\n'
'*__match_args__* attribute.\n'
'use that kind of pattern, the class needs to define a '
'*__match_args__*\n'
'attribute.\n'
'\n'
'object.__match_args__\n'
'\n'
@ -11302,6 +11316,10 @@ topics = {'assert': 'The "assert" statement\n'
'*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 '
@ -11808,7 +11826,7 @@ topics = {'assert': 'The "assert" statement\n'
'followed by\n'
' the string itself.\n'
'\n'
'str.rsplit(sep=None, maxsplit=- 1)\n'
'str.rsplit(sep=None, maxsplit=-1)\n'
'\n'
' Return a list of the words in the string, using *sep* '
'as the\n'
@ -11849,7 +11867,7 @@ topics = {'assert': 'The "assert" statement\n'
" >>> 'Monty Python'.removesuffix(' Python')\n"
" 'Monty'\n"
'\n'
'str.split(sep=None, maxsplit=- 1)\n'
'str.split(sep=None, maxsplit=-1)\n'
'\n'
' Return a list of the words in the string, using *sep* '
'as the\n'
@ -12650,9 +12668,10 @@ topics = {'assert': 'The "assert" statement\n'
'the type matches some of the exceptions in the group. This means '
'that\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'
'exception group. Each clause executes at most once and handles an\n'
'exception group of all matching exceptions. Each exception in the\n'
'group is handled by at most one "except*" clause, the first that\n'
'matches it.\n'
'\n'
' >>> try:\n'
' ... raise ExceptionGroup("eg",\n'
@ -12673,20 +12692,31 @@ topics = {'assert': 'The "assert" statement\n'
' | ValueError: 1\n'
' +------------------------------------\n'
'\n'
' Any remaining exceptions that were not handled by any '
':keyword:`!except*`\n'
' clause are re-raised at the end, combined into an exception group '
'along with\n'
' all exceptions that were raised from within :keyword:`!except*` '
'clauses.\n'
'Any remaining exceptions that were not handled by any "except*" '
'clause\n'
'are re-raised at the end, combined into an exception group along '
'with\n'
'all exceptions that were raised from within "except*" clauses.\n'
'\n'
' An :keyword:`!except*` clause must have a matching type,\n'
' and this type cannot be a subclass of :exc:`BaseExceptionGroup`.\n'
' It is not possible to mix :keyword:`except` and '
':keyword:`!except*`\n'
' in the same :keyword:`try`.\n'
' :keyword:`break`, :keyword:`continue` and :keyword:`return`\n'
' cannot appear in an :keyword:`!except*` clause.\n'
'If the raised exception is not an exception group and its type '
'matches\n'
'one of the "except*" clauses, it is caught and wrapped by an '
'exception\n'
'group with an empty message string.\n'
'\n'
' >>> try:\n'
' ... raise BlockingIOError\n'
' ... except* BlockingIOError as e:\n'
' ... print(repr(e))\n'
' ...\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'
'\n'
'\n'
'"else" clause\n'
@ -13947,17 +13977,11 @@ topics = {'assert': 'The "assert" statement\n'
'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'