11# -*- coding: utf-8 -*-
2- # Autogenerated by Sphinx on Mon Oct 24 18:35:07 2022
2+ # Autogenerated by Sphinx on Tue Dec 6 19:05:00 2022
33topics = {'assert': 'The "assert" statement\n'
44 '**********************\n'
55 '\n'
358358 'yield_expression)]\n'
359359 '\n'
360360 'The difference from normal Assignment statements is that only '
361- 'single\n'
361+ 'a single\n'
362362 'target is allowed.\n'
363363 '\n'
364364 'For simple names as assignment targets, if in class or module '
408408 'analysis\n'
409409 ' tools and IDEs.\n'
410410 '\n'
411- 'Changed in version 3.8: Now annotated assignments allow same\n'
412- 'expressions in the right hand side as the regular '
413- 'assignments.\n'
414- 'Previously, some expressions (like un-parenthesized tuple '
415- 'expressions)\n'
416- 'caused a syntax error.\n',
411+ 'Changed in version 3.8: Now annotated assignments allow the '
412+ 'same\n'
413+ 'expressions in the right hand side as regular assignments. '
414+ 'Previously,\n'
415+ 'some expressions (like un-parenthesized tuple expressions) '
416+ 'caused a\n'
417+ 'syntax error.\n',
417418 'async': 'Coroutines\n'
418419 '**********\n'
419420 '\n'
25512552 'that\n'
25522553 'multiple "except*" clauses can execute, each handling part of '
25532554 'the\n'
2554- 'exception group. Each clause executes once and handles an '
2555- 'exception\n'
2556- 'group of all matching exceptions. Each exception in the group '
2557- 'is\n'
2558- 'handled by at most one "except*" clause, the first that matches '
2559- 'it.\n'
2555+ 'exception group. Each clause executes at most once and handles '
2556+ 'an\n'
2557+ 'exception group of all matching exceptions. Each exception in '
2558+ 'the\n'
2559+ 'group is handled by at most one "except*" clause, the first '
2560+ 'that\n'
2561+ 'matches it.\n'
25602562 '\n'
25612563 ' >>> try:\n'
25622564 ' ... raise ExceptionGroup("eg",\n'
25792581 ' | ValueError: 1\n'
25802582 ' +------------------------------------\n'
25812583 '\n'
2582- ' Any remaining exceptions that were not handled by any '
2583- ':keyword:`!except*`\n'
2584- ' clause are re-raised at the end, combined into an exception '
2585- 'group along with\n'
2586- ' all exceptions that were raised from within '
2587- ':keyword:`!except*` clauses.\n'
2584+ 'Any remaining exceptions that were not handled by any "except*" '
2585+ 'clause\n'
2586+ 'are re-raised at the end, combined into an exception group along '
2587+ 'with\n'
2588+ 'all exceptions that were raised from within "except*" clauses.\n'
2589+ '\n'
2590+ 'If the raised exception is not an exception group and its type '
2591+ 'matches\n'
2592+ 'one of the "except*" clauses, it is caught and wrapped by an '
2593+ 'exception\n'
2594+ 'group with an empty message string.\n'
2595+ '\n'
2596+ ' >>> try:\n'
2597+ ' ... raise BlockingIOError\n'
2598+ ' ... except* BlockingIOError as e:\n'
2599+ ' ... print(repr(e))\n'
2600+ ' ...\n'
2601+ " ExceptionGroup('', (BlockingIOError()))\n"
25882602 '\n'
2589- ' An :keyword:`!except*` clause must have a matching type,\n'
2590- ' and this type cannot be a subclass of '
2591- ':exc:`BaseExceptionGroup`.\n'
2592- ' It is not possible to mix :keyword:`except` and '
2593- ':keyword:`!except*`\n'
2594- ' in the same :keyword:`try`.\n'
2595- ' :keyword:`break`, :keyword:`continue` and :keyword:`return`\n'
2596- ' cannot appear in an :keyword:`!except*` clause.\n'
2603+ 'An "except*" clause must have a matching type, and this type '
2604+ 'cannot be\n'
2605+ 'a subclass of "BaseExceptionGroup". It is not possible to mix '
2606+ '"except"\n'
2607+ 'and "except*" in the same "try". "break", "continue" and '
2608+ '"return"\n'
2609+ 'cannot appear in an "except*" clause.\n'
25972610 '\n'
25982611 '\n'
25992612 '"else" clause\n'
73087321 'the clauses had been separated out into individual import '
73097322 'statements.\n'
73107323 '\n'
7311- 'The details of the first step, finding and loading modules are\n'
7324+ 'The details of the first step, finding and loading modules, are\n'
73127325 'described in greater detail in the section on the import system, '
73137326 'which\n'
73147327 'also describes the various types of packages and modules that can '
1109611109 'y)" is\n'
1109711110 'typically invalid without special support in "MyClass". To '
1109811111 'be able to\n'
11099- 'use that kind of patterns, the class needs to define a\n'
11100- '*__match_args__* attribute.\n'
11112+ 'use that kind of pattern, the class needs to define a '
11113+ '*__match_args__*\n'
11114+ 'attribute.\n'
1110111115 '\n'
1110211116 'object.__match_args__\n'
1110311117 '\n'
1130211316 '*start* and\n'
1130311317 ' *end* are interpreted as in slice notation.\n'
1130411318 '\n'
11319+ ' If *sub* is empty, returns the number of empty strings '
11320+ 'between\n'
11321+ ' characters which is the length of the string plus one.\n'
11322+ '\n'
1130511323 "str.encode(encoding='utf-8', errors='strict')\n"
1130611324 '\n'
1130711325 ' Return an encoded version of the string as a bytes '
1180811826 'followed by\n'
1180911827 ' the string itself.\n'
1181011828 '\n'
11811- 'str.rsplit(sep=None, maxsplit=- 1)\n'
11829+ 'str.rsplit(sep=None, maxsplit=-1)\n'
1181211830 '\n'
1181311831 ' Return a list of the words in the string, using *sep* '
1181411832 'as the\n'
1184911867 " >>> 'Monty Python'.removesuffix(' Python')\n"
1185011868 " 'Monty'\n"
1185111869 '\n'
11852- 'str.split(sep=None, maxsplit=- 1)\n'
11870+ 'str.split(sep=None, maxsplit=-1)\n'
1185311871 '\n'
1185411872 ' Return a list of the words in the string, using *sep* '
1185511873 'as the\n'
1265012668 'the type matches some of the exceptions in the group. This means '
1265112669 'that\n'
1265212670 'multiple "except*" clauses can execute, each handling part of the\n'
12653- 'exception group. Each clause executes once and handles an exception\n'
12654- 'group of all matching exceptions. Each exception in the group is\n'
12655- 'handled by at most one "except*" clause, the first that matches it.\n'
12671+ 'exception group. Each clause executes at most once and handles an\n'
12672+ 'exception group of all matching exceptions. Each exception in the\n'
12673+ 'group is handled by at most one "except*" clause, the first that\n'
12674+ 'matches it.\n'
1265612675 '\n'
1265712676 ' >>> try:\n'
1265812677 ' ... raise ExceptionGroup("eg",\n'
@@ -12673,20 +12692,31 @@
1267312692 ' | ValueError: 1\n'
1267412693 ' +------------------------------------\n'
1267512694 '\n'
12676- ' Any remaining exceptions that were not handled by any '
12677- ':keyword:`!except*`\n'
12678- ' clause are re-raised at the end, combined into an exception group '
12679- 'along with\n'
12680- ' all exceptions that were raised from within :keyword:`!except*` '
12681- 'clauses.\n'
12695+ 'Any remaining exceptions that were not handled by any "except*" '
12696+ 'clause\n'
12697+ 'are re-raised at the end, combined into an exception group along '
12698+ 'with\n'
12699+ 'all exceptions that were raised from within "except*" clauses.\n'
1268212700 '\n'
12683- ' An :keyword:`!except*` clause must have a matching type,\n'
12684- ' and this type cannot be a subclass of :exc:`BaseExceptionGroup`.\n'
12685- ' It is not possible to mix :keyword:`except` and '
12686- ':keyword:`!except*`\n'
12687- ' in the same :keyword:`try`.\n'
12688- ' :keyword:`break`, :keyword:`continue` and :keyword:`return`\n'
12689- ' cannot appear in an :keyword:`!except*` clause.\n'
12701+ 'If the raised exception is not an exception group and its type '
12702+ 'matches\n'
12703+ 'one of the "except*" clauses, it is caught and wrapped by an '
12704+ 'exception\n'
12705+ 'group with an empty message string.\n'
12706+ '\n'
12707+ ' >>> try:\n'
12708+ ' ... raise BlockingIOError\n'
12709+ ' ... except* BlockingIOError as e:\n'
12710+ ' ... print(repr(e))\n'
12711+ ' ...\n'
12712+ " ExceptionGroup('', (BlockingIOError()))\n"
12713+ '\n'
12714+ 'An "except*" clause must have a matching type, and this type cannot '
12715+ 'be\n'
12716+ 'a subclass of "BaseExceptionGroup". It is not possible to mix '
12717+ '"except"\n'
12718+ 'and "except*" in the same "try". "break", "continue" and "return"\n'
12719+ 'cannot appear in an "except*" clause.\n'
1269012720 '\n'
1269112721 '\n'
1269212722 '"else" clause\n'
@@ -13947,17 +13977,11 @@
1394713977 'dictionaries or\n'
1394813978 'other mutable types (that are compared by value rather than '
1394913979 'by object\n'
13950- 'identity) may not be used as keys. Numeric types used for '
13951- 'keys obey\n'
13952- 'the normal rules for numeric comparison: if two numbers '
13953- 'compare equal\n'
13954- '(such as "1" and "1.0") then they can be used '
13955- 'interchangeably to index\n'
13956- 'the same dictionary entry. (Note however, that since '
13957- 'computers store\n'
13958- 'floating-point numbers as approximations it is usually '
13959- 'unwise to use\n'
13960- 'them as dictionary keys.)\n'
13980+ 'identity) may not be used as keys. Values that compare equal '
13981+ '(such as\n'
13982+ '"1", "1.0", and "True") can be used interchangeably to index '
13983+ 'the same\n'
13984+ 'dictionary entry.\n'
1396113985 '\n'
1396213986 'class dict(**kwargs)\n'
1396313987 'class dict(mapping, **kwargs)\n'
0 commit comments