|
1 | 1 | # -*- coding: utf-8 -*-
|
2 |
| -# Autogenerated by Sphinx on Tue Oct 11 12:21:26 2022 |
| 2 | +# Autogenerated by Sphinx on Tue Dec 6 18:31:02 2022 |
3 | 3 | topics = {'assert': 'The "assert" statement\n'
|
4 | 4 | '**********************\n'
|
5 | 5 | '\n'
|
|
358 | 358 | 'yield_expression)]\n'
|
359 | 359 | '\n'
|
360 | 360 | 'The difference from normal Assignment statements is that only '
|
361 |
| - 'single\n' |
| 361 | + 'a single\n' |
362 | 362 | 'target is allowed.\n'
|
363 | 363 | '\n'
|
364 | 364 | 'For simple names as assignment targets, if in class or module '
|
|
408 | 408 | 'analysis\n'
|
409 | 409 | ' tools and IDEs.\n'
|
410 | 410 | '\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', |
417 | 418 | 'async': 'Coroutines\n'
|
418 | 419 | '**********\n'
|
419 | 420 | '\n'
|
|
2041 | 2042 | '\n'
|
2042 | 2043 | '* Mappings (instances of "dict") compare equal if and only if '
|
2043 | 2044 | 'they\n'
|
2044 |
| - ' have equal *(key, value)* pairs. Equality comparison of the ' |
| 2045 | + ' have equal "(key, value)" pairs. Equality comparison of the ' |
2045 | 2046 | 'keys and\n'
|
2046 | 2047 | ' values enforces reflexivity.\n'
|
2047 | 2048 | '\n'
|
|
7225 | 7226 | 'the clauses had been separated out into individual import '
|
7226 | 7227 | 'statements.\n'
|
7227 | 7228 | '\n'
|
7228 |
| - 'The details of the first step, finding and loading modules are\n' |
| 7229 | + 'The details of the first step, finding and loading modules, are\n' |
7229 | 7230 | 'described in greater detail in the section on the import system, '
|
7230 | 7231 | 'which\n'
|
7231 | 7232 | 'also describes the various types of packages and modules that can '
|
|
10999 | 11000 | 'y)" is\n'
|
11000 | 11001 | 'typically invalid without special support in "MyClass". To '
|
11001 | 11002 | 'be able to\n'
|
11002 |
| - 'use that kind of patterns, the class needs to define a\n' |
11003 |
| - '*__match_args__* attribute.\n' |
| 11003 | + 'use that kind of pattern, the class needs to define a ' |
| 11004 | + '*__match_args__*\n' |
| 11005 | + 'attribute.\n' |
11004 | 11006 | '\n'
|
11005 | 11007 | 'object.__match_args__\n'
|
11006 | 11008 | '\n'
|
|
11205 | 11207 | '*start* and\n'
|
11206 | 11208 | ' *end* are interpreted as in slice notation.\n'
|
11207 | 11209 | '\n'
|
| 11210 | + ' If *sub* is empty, returns the number of empty strings ' |
| 11211 | + 'between\n' |
| 11212 | + ' characters which is the length of the string plus one.\n' |
| 11213 | + '\n' |
11208 | 11214 | "str.encode(encoding='utf-8', errors='strict')\n"
|
11209 | 11215 | '\n'
|
11210 | 11216 | ' Return an encoded version of the string as a bytes '
|
|
11711 | 11717 | 'followed by\n'
|
11712 | 11718 | ' the string itself.\n'
|
11713 | 11719 | '\n'
|
11714 |
| - 'str.rsplit(sep=None, maxsplit=- 1)\n' |
| 11720 | + 'str.rsplit(sep=None, maxsplit=-1)\n' |
11715 | 11721 | '\n'
|
11716 | 11722 | ' Return a list of the words in the string, using *sep* '
|
11717 | 11723 | 'as the\n'
|
|
11752 | 11758 | " >>> 'Monty Python'.removesuffix(' Python')\n"
|
11753 | 11759 | " 'Monty'\n"
|
11754 | 11760 | '\n'
|
11755 |
| - 'str.split(sep=None, maxsplit=- 1)\n' |
| 11761 | + 'str.split(sep=None, maxsplit=-1)\n' |
11756 | 11762 | '\n'
|
11757 | 11763 | ' Return a list of the words in the string, using *sep* '
|
11758 | 11764 | 'as the\n'
|
@@ -13733,17 +13739,11 @@
|
13733 | 13739 | 'dictionaries or\n'
|
13734 | 13740 | 'other mutable types (that are compared by value rather than '
|
13735 | 13741 | 'by object\n'
|
13736 |
| - 'identity) may not be used as keys. Numeric types used for ' |
13737 |
| - 'keys obey\n' |
13738 |
| - 'the normal rules for numeric comparison: if two numbers ' |
13739 |
| - 'compare equal\n' |
13740 |
| - '(such as "1" and "1.0") then they can be used ' |
13741 |
| - 'interchangeably to index\n' |
13742 |
| - 'the same dictionary entry. (Note however, that since ' |
13743 |
| - 'computers store\n' |
13744 |
| - 'floating-point numbers as approximations it is usually ' |
13745 |
| - 'unwise to use\n' |
13746 |
| - 'them as dictionary keys.)\n' |
| 13742 | + 'identity) may not be used as keys. Values that compare equal ' |
| 13743 | + '(such as\n' |
| 13744 | + '"1", "1.0", and "True") can be used interchangeably to index ' |
| 13745 | + 'the same\n' |
| 13746 | + 'dictionary entry.\n' |
13747 | 13747 | '\n'
|
13748 | 13748 | 'class dict(**kwargs)\n'
|
13749 | 13749 | 'class dict(mapping, **kwargs)\n'
|
|
0 commit comments