|
1 | 1 | # -*- coding: utf-8 -*-
|
2 |
| -# Autogenerated by Sphinx on Mon Mar 1 16:48:51 2021 |
| 2 | +# Autogenerated by Sphinx on Mon Apr 5 17:39:41 2021 |
3 | 3 | topics = {'assert': 'The "assert" statement\n'
|
4 | 4 | '**********************\n'
|
5 | 5 | '\n'
|
|
5782 | 5782 | '"Formatter",\n'
|
5783 | 5783 | 'subclasses can define their own format string syntax). The '
|
5784 | 5784 | 'syntax is\n'
|
5785 |
| - 'related to that of formatted string literals, but there ' |
5786 |
| - 'are\n' |
5787 |
| - 'differences.\n' |
| 5785 | + 'related to that of formatted string literals, but it is ' |
| 5786 | + 'less\n' |
| 5787 | + 'sophisticated and, in particular, does not support ' |
| 5788 | + 'arbitrary\n' |
| 5789 | + 'expressions.\n' |
5788 | 5790 | '\n'
|
5789 | 5791 | 'Format strings contain “replacement fields” surrounded by '
|
5790 | 5792 | 'curly braces\n'
|
|
5978 | 5980 | 'character that can be any character and defaults to a space '
|
5979 | 5981 | 'if\n'
|
5980 | 5982 | 'omitted. It is not possible to use a literal curly brace '
|
5981 |
| - '(“"{"” or\n' |
| 5983 | + '(”"{"” or\n' |
5982 | 5984 | '“"}"”) as the *fill* character in a formatted string '
|
5983 | 5985 | 'literal or when\n'
|
5984 | 5986 | 'using the "str.format()" method. However, it is possible '
|
|
7676 | 7678 | '\n'
|
7677 | 7679 | 'Note that numeric literals do not include a sign; a phrase like '
|
7678 | 7680 | '"-1"\n'
|
7679 |
| - 'is actually an expression composed of the unary operator ‘"-"‘ ' |
| 7681 | + 'is actually an expression composed of the unary operator ‘"-"’ ' |
7680 | 7682 | 'and the\n'
|
7681 | 7683 | 'literal "1".\n',
|
7682 | 7684 | 'numeric-types': 'Emulating numeric types\n'
|
|
13956 | 13958 | '| "s + t" | the concatenation of *s* and *t* '
|
13957 | 13959 | '| (6)(7) |\n'
|
13958 | 13960 | '+----------------------------+----------------------------------+------------+\n'
|
13959 |
| - '| "s * n" or "n * s" | equivalent to *n* copies of the ' |
| 13961 | + '| "s * n" or "n * s" | equivalent to adding *s* to ' |
13960 | 13962 | '| (2)(7) |\n'
|
13961 |
| - '| | *s* sequence ' |
| 13963 | + '| | itself *n* times ' |
13962 | 13964 | '| |\n'
|
13963 | 13965 | '+----------------------------+----------------------------------+------------+\n'
|
13964 | 13966 | '| "s[i]" | *i*th item of *s*, origin 0 '
|
|
0 commit comments