|
1 | 1 | # -*- coding: utf-8 -*-
|
2 |
| -# Autogenerated by Sphinx on Tue Aug 11 19:08:56 2020 |
| 2 | +# Autogenerated by Sphinx on Wed Sep 16 23:08:58 2020 |
3 | 3 | topics = {'assert': 'The "assert" statement\n'
|
4 | 4 | '**********************\n'
|
5 | 5 | '\n'
|
|
6946 | 6946 | 'the data\n'
|
6947 | 6947 | ' model.\n'
|
6948 | 6948 | '\n'
|
| 6949 | + ' Note: Due to a bug in the dispatching mechanism for ' |
| 6950 | + '"**=", a\n' |
| 6951 | + ' class that defines "__ipow__()" but returns ' |
| 6952 | + '"NotImplemented"\n' |
| 6953 | + ' would fail to fall back to "x.__pow__(y)" and ' |
| 6954 | + '"y.__rpow__(x)".\n' |
| 6955 | + ' This bug is fixed in Python 3.10.\n' |
| 6956 | + '\n' |
6949 | 6957 | 'object.__neg__(self)\n'
|
6950 | 6958 | 'object.__pos__(self)\n'
|
6951 | 6959 | 'object.__abs__(self)\n'
|
|
9627 | 9635 | 'the data\n'
|
9628 | 9636 | ' model.\n'
|
9629 | 9637 | '\n'
|
| 9638 | + ' Note: Due to a bug in the dispatching mechanism for ' |
| 9639 | + '"**=", a\n' |
| 9640 | + ' class that defines "__ipow__()" but returns ' |
| 9641 | + '"NotImplemented"\n' |
| 9642 | + ' would fail to fall back to "x.__pow__(y)" and ' |
| 9643 | + '"y.__rpow__(x)".\n' |
| 9644 | + ' This bug is fixed in Python 3.10.\n' |
| 9645 | + '\n' |
9630 | 9646 | 'object.__neg__(self)\n'
|
9631 | 9647 | 'object.__pos__(self)\n'
|
9632 | 9648 | 'object.__abs__(self)\n'
|
|
9915 | 9931 | '*start* and\n'
|
9916 | 9932 | ' *end* are interpreted as in slice notation.\n'
|
9917 | 9933 | '\n'
|
9918 |
| - 'str.removeprefix(prefix, /)\n' |
9919 |
| - '\n' |
9920 |
| - ' If the string starts with the *prefix* string, return\n' |
9921 |
| - ' "string[len(prefix):]". Otherwise, return a copy of the ' |
9922 |
| - 'original\n' |
9923 |
| - ' string:\n' |
9924 |
| - '\n' |
9925 |
| - " >>> 'TestHook'.removeprefix('Test')\n" |
9926 |
| - " 'Hook'\n" |
9927 |
| - " >>> 'BaseTestCase'.removeprefix('Test')\n" |
9928 |
| - " 'BaseTestCase'\n" |
9929 |
| - '\n' |
9930 |
| - ' New in version 3.9.\n' |
9931 |
| - '\n' |
9932 |
| - 'str.removesuffix(suffix, /)\n' |
9933 |
| - '\n' |
9934 |
| - ' If the string ends with the *suffix* string and that ' |
9935 |
| - '*suffix* is\n' |
9936 |
| - ' not empty, return "string[:-len(suffix)]". Otherwise, ' |
9937 |
| - 'return a copy\n' |
9938 |
| - ' of the original string:\n' |
9939 |
| - '\n' |
9940 |
| - " >>> 'MiscTests'.removesuffix('Tests')\n" |
9941 |
| - " 'Misc'\n" |
9942 |
| - " >>> 'TmpDirMixin'.removesuffix('Tests')\n" |
9943 |
| - " 'TmpDirMixin'\n" |
9944 |
| - '\n' |
9945 |
| - ' New in version 3.9.\n' |
9946 |
| - '\n' |
9947 | 9934 | 'str.encode(encoding="utf-8", errors="strict")\n'
|
9948 | 9935 | '\n'
|
9949 | 9936 | ' Return an encoded version of the string as a bytes '
|
|
10372 | 10359 | 'followed by\n'
|
10373 | 10360 | ' two empty strings.\n'
|
10374 | 10361 | '\n'
|
| 10362 | + 'str.removeprefix(prefix, /)\n' |
| 10363 | + '\n' |
| 10364 | + ' If the string starts with the *prefix* string, return\n' |
| 10365 | + ' "string[len(prefix):]". Otherwise, return a copy of the ' |
| 10366 | + 'original\n' |
| 10367 | + ' string:\n' |
| 10368 | + '\n' |
| 10369 | + " >>> 'TestHook'.removeprefix('Test')\n" |
| 10370 | + " 'Hook'\n" |
| 10371 | + " >>> 'BaseTestCase'.removeprefix('Test')\n" |
| 10372 | + " 'BaseTestCase'\n" |
| 10373 | + '\n' |
| 10374 | + ' New in version 3.9.\n' |
| 10375 | + '\n' |
| 10376 | + 'str.removesuffix(suffix, /)\n' |
| 10377 | + '\n' |
| 10378 | + ' If the string ends with the *suffix* string and that ' |
| 10379 | + '*suffix* is\n' |
| 10380 | + ' not empty, return "string[:-len(suffix)]". Otherwise, ' |
| 10381 | + 'return a copy\n' |
| 10382 | + ' of the original string:\n' |
| 10383 | + '\n' |
| 10384 | + " >>> 'MiscTests'.removesuffix('Tests')\n" |
| 10385 | + " 'Misc'\n" |
| 10386 | + " >>> 'TmpDirMixin'.removesuffix('Tests')\n" |
| 10387 | + " 'TmpDirMixin'\n" |
| 10388 | + '\n' |
| 10389 | + ' New in version 3.9.\n' |
| 10390 | + '\n' |
10375 | 10391 | 'str.replace(old, new[, count])\n'
|
10376 | 10392 | '\n'
|
10377 | 10393 | ' Return a copy of the string with all occurrences of '
|
|
0 commit comments