|
1 | 1 | # -*- coding: utf-8 -*-
|
2 |
| -# Autogenerated by Sphinx on Tue Oct 25 00:07:40 2022 |
| 2 | +# Autogenerated by Sphinx on Mon Nov 14 12:13:19 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'
|
|
7320 | 7321 | 'the clauses had been separated out into individual import '
|
7321 | 7322 | 'statements.\n'
|
7322 | 7323 | '\n'
|
7323 |
| - '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' |
7324 | 7325 | 'described in greater detail in the section on the import system, '
|
7325 | 7326 | 'which\n'
|
7326 | 7327 | 'also describes the various types of packages and modules that can '
|
|
11314 | 11315 | '*start* and\n'
|
11315 | 11316 | ' *end* are interpreted as in slice notation.\n'
|
11316 | 11317 | '\n'
|
| 11318 | + ' If *sub* is empty, returns the number of empty strings ' |
| 11319 | + 'between\n' |
| 11320 | + ' characters which is the length of the string plus one.\n' |
| 11321 | + '\n' |
11317 | 11322 | "str.encode(encoding='utf-8', errors='strict')\n"
|
11318 | 11323 | '\n'
|
11319 | 11324 | ' Return an encoded version of the string as a bytes '
|
@@ -12360,10 +12365,12 @@
|
12360 | 12365 | '2. As in Standard C, up to three octal digits are accepted.\n'
|
12361 | 12366 | '\n'
|
12362 | 12367 | ' Changed in version 3.11: Octal escapes with value larger than\n'
|
12363 |
| - ' "0o377" produce a "DeprecationWarning". In a future Python ' |
12364 |
| - 'version\n' |
12365 |
| - ' they will be a "SyntaxWarning" and eventually a ' |
12366 |
| - '"SyntaxError".\n' |
| 12368 | + ' "0o377" produce a "DeprecationWarning".\n' |
| 12369 | + '\n' |
| 12370 | + ' Changed in version 3.12: Octal escapes with value larger than\n' |
| 12371 | + ' "0o377" produce a "SyntaxWarning". In a future Python version ' |
| 12372 | + 'they\n' |
| 12373 | + ' will be eventually a "SyntaxError".\n' |
12367 | 12374 | '\n'
|
12368 | 12375 | '3. Unlike in Standard C, exactly two hex digits are required.\n'
|
12369 | 12376 | '\n'
|
|
12398 | 12405 | '\n'
|
12399 | 12406 | ' Changed in version 3.6: Unrecognized escape sequences produce '
|
12400 | 12407 | 'a\n'
|
12401 |
| - ' "DeprecationWarning". In a future Python version they will be ' |
| 12408 | + ' "DeprecationWarning".\n' |
| 12409 | + '\n' |
| 12410 | + ' Changed in version 3.12: Unrecognized escape sequences produce ' |
12402 | 12411 | 'a\n'
|
12403 |
| - ' "SyntaxWarning" and eventually a "SyntaxError".\n' |
| 12412 | + ' "SyntaxWarning". In a future Python version they will be ' |
| 12413 | + 'eventually\n' |
| 12414 | + ' a "SyntaxError".\n' |
12404 | 12415 | '\n'
|
12405 | 12416 | 'Even in a raw literal, quotes can be escaped with a backslash, '
|
12406 | 12417 | 'but the\n'
|
@@ -13974,17 +13985,11 @@
|
13974 | 13985 | 'dictionaries or\n'
|
13975 | 13986 | 'other mutable types (that are compared by value rather than '
|
13976 | 13987 | 'by object\n'
|
13977 |
| - 'identity) may not be used as keys. Numeric types used for ' |
13978 |
| - 'keys obey\n' |
13979 |
| - 'the normal rules for numeric comparison: if two numbers ' |
13980 |
| - 'compare equal\n' |
13981 |
| - '(such as "1" and "1.0") then they can be used ' |
13982 |
| - 'interchangeably to index\n' |
13983 |
| - 'the same dictionary entry. (Note however, that since ' |
13984 |
| - 'computers store\n' |
13985 |
| - 'floating-point numbers as approximations it is usually ' |
13986 |
| - 'unwise to use\n' |
13987 |
| - 'them as dictionary keys.)\n' |
| 13988 | + 'identity) may not be used as keys. Values that compare equal ' |
| 13989 | + '(such as\n' |
| 13990 | + '"1", "1.0", and "True") can be used interchangeably to index ' |
| 13991 | + 'the same\n' |
| 13992 | + 'dictionary entry.\n' |
13988 | 13993 | '\n'
|
13989 | 13994 | 'class dict(**kwargs)\n'
|
13990 | 13995 | 'class dict(mapping, **kwargs)\n'
|
|
0 commit comments