|
1 | 1 | # -*- coding: utf-8 -*-
|
2 |
| -# Autogenerated by Sphinx on Tue Jun 18 16:49:39 2019 |
| 2 | +# Autogenerated by Sphinx on Tue Oct 1 13:12:46 2019 |
3 | 3 | topics = {'assert': 'The "assert" statement\n'
|
4 | 4 | '**********************\n'
|
5 | 5 | '\n'
|
|
5365 | 5365 | ' | | significand, and the decimal point is also '
|
5366 | 5366 | 'removed if |\n'
|
5367 | 5367 | ' | | there are no remaining digits following '
|
5368 |
| - 'it. Positive and |\n' |
5369 |
| - ' | | negative infinity, positive and negative ' |
5370 |
| - 'zero, and nans, |\n' |
5371 |
| - ' | | are formatted as "inf", "-inf", "0", "-0" ' |
5372 |
| - 'and "nan" |\n' |
5373 |
| - ' | | respectively, regardless of the ' |
5374 |
| - 'precision. A precision of |\n' |
5375 |
| - ' | | "0" is treated as equivalent to a ' |
5376 |
| - 'precision of "1". The |\n' |
5377 |
| - ' | | default precision is ' |
5378 |
| - '"6". |\n' |
| 5368 | + 'it, unless the |\n' |
| 5369 | + ' | | "\'#\'" option is used. Positive and ' |
| 5370 | + 'negative infinity, |\n' |
| 5371 | + ' | | positive and negative zero, and nans, are ' |
| 5372 | + 'formatted as |\n' |
| 5373 | + ' | | "inf", "-inf", "0", "-0" and "nan" ' |
| 5374 | + 'respectively, |\n' |
| 5375 | + ' | | regardless of the precision. A precision ' |
| 5376 | + 'of "0" is |\n' |
| 5377 | + ' | | treated as equivalent to a precision of ' |
| 5378 | + '"1". The default |\n' |
| 5379 | + ' | | precision is ' |
| 5380 | + '"6". |\n' |
5379 | 5381 | ' '
|
5380 | 5382 | '+-----------+------------------------------------------------------------+\n'
|
5381 | 5383 | ' | "\'G\'" | General format. Same as "\'g\'" except '
|
|
7078 | 7080 | '| "x(arguments...)", "x.attribute" | '
|
7079 | 7081 | 'attribute reference |\n'
|
7080 | 7082 | '+-------------------------------------------------+---------------------------------------+\n'
|
7081 |
| - '| "(expressions...)", "[expressions...]", "{key: | ' |
7082 |
| - 'Binding or tuple display, list |\n' |
7083 |
| - '| value...}", "{expressions...}" | ' |
7084 |
| - 'display, dictionary display, set |\n' |
| 7083 | + '| "(expressions...)", "[expressions...]", "{key: | ' |
| 7084 | + 'Binding or parenthesized expression, |\n' |
| 7085 | + '| value...}", "{expressions...}" | list ' |
| 7086 | + 'display, dictionary display, set |\n' |
7085 | 7087 | '| | '
|
7086 | 7088 | 'display |\n'
|
7087 | 7089 | '+-------------------------------------------------+---------------------------------------+\n'
|
|
7449 | 7451 | ' estimated length for the object (which may be greater '
|
7450 | 7452 | 'or less than\n'
|
7451 | 7453 | ' the actual length). The length must be an integer ">=" '
|
7452 |
| - '0. This\n' |
| 7454 | + '0. The\n' |
| 7455 | + ' return value may also be "NotImplemented", which is ' |
| 7456 | + 'treated the\n' |
| 7457 | + ' same as if the "__length_hint__" method didn’t exist at ' |
| 7458 | + 'all. This\n' |
7453 | 7459 | ' method is purely an optimization and is never required '
|
7454 | 7460 | 'for\n'
|
7455 | 7461 | ' correctness.\n'
|
|
9152 | 9158 | ' estimated length for the object (which may be greater or '
|
9153 | 9159 | 'less than\n'
|
9154 | 9160 | ' the actual length). The length must be an integer ">=" 0. '
|
9155 |
| - 'This\n' |
| 9161 | + 'The\n' |
| 9162 | + ' return value may also be "NotImplemented", which is ' |
| 9163 | + 'treated the\n' |
| 9164 | + ' same as if the "__length_hint__" method didn’t exist at ' |
| 9165 | + 'all. This\n' |
9156 | 9166 | ' method is purely an optimization and is never required '
|
9157 | 9167 | 'for\n'
|
9158 | 9168 | ' correctness.\n'
|
|
9989 | 9999 | '\n'
|
9990 | 10000 | ' Return true if there are only whitespace characters in '
|
9991 | 10001 | 'the string\n'
|
9992 |
| - ' and there is at least one character, false otherwise. ' |
9993 |
| - 'Whitespace\n' |
9994 |
| - ' characters are those characters defined in the Unicode ' |
9995 |
| - 'character\n' |
9996 |
| - ' database as “Other” or “Separator” and those with ' |
9997 |
| - 'bidirectional\n' |
9998 |
| - ' property being one of “WS”, “B”, or “S”.\n' |
| 10002 | + ' and there is at least one character, false otherwise.\n' |
| 10003 | + '\n' |
| 10004 | + ' A character is *whitespace* if in the Unicode character ' |
| 10005 | + 'database\n' |
| 10006 | + ' (see "unicodedata"), either its general category is ' |
| 10007 | + '"Zs"\n' |
| 10008 | + ' (“Separator, space”), or its bidirectional class is one ' |
| 10009 | + 'of "WS",\n' |
| 10010 | + ' "B", or "S".\n' |
9999 | 10011 | '\n'
|
10000 | 10012 | 'str.istitle()\n'
|
10001 | 10013 | '\n'
|
|
12087 | 12099 | 'therefore,\n'
|
12088 | 12100 | ' custom mapping types should support too):\n'
|
12089 | 12101 | '\n'
|
| 12102 | + ' list(d)\n' |
| 12103 | + '\n' |
| 12104 | + ' Return a list of all the keys used in the dictionary ' |
| 12105 | + '*d*.\n' |
| 12106 | + '\n' |
12090 | 12107 | ' len(d)\n'
|
12091 | 12108 | '\n'
|
12092 | 12109 | ' Return the number of items in the dictionary *d*.\n'
|
@@ -12243,11 +12260,21 @@
|
12243 | 12260 | 'the\n'
|
12244 | 12261 | ' documentation of view objects.\n'
|
12245 | 12262 | '\n'
|
| 12263 | + ' An equality comparison between one "dict.values()" ' |
| 12264 | + 'view and\n' |
| 12265 | + ' another will always return "False". This also applies ' |
| 12266 | + 'when\n' |
| 12267 | + ' comparing "dict.values()" to itself:\n' |
| 12268 | + '\n' |
| 12269 | + " >>> d = {'a': 1}\n" |
| 12270 | + ' >>> d.values() == d.values()\n' |
| 12271 | + ' False\n' |
| 12272 | + '\n' |
12246 | 12273 | ' Dictionaries compare equal if and only if they have the '
|
12247 | 12274 | 'same "(key,\n'
|
12248 |
| - ' value)" pairs. Order comparisons (‘<’, ‘<=’, ‘>=’, ‘>’) ' |
12249 |
| - 'raise\n' |
12250 |
| - ' "TypeError".\n' |
| 12275 | + ' value)" pairs (regardless of ordering). Order comparisons ' |
| 12276 | + '(‘<’,\n' |
| 12277 | + ' ‘<=’, ‘>=’, ‘>’) raise "TypeError".\n' |
12251 | 12278 | '\n'
|
12252 | 12279 | ' Dictionaries preserve insertion order. Note that '
|
12253 | 12280 | 'updating a key\n'
|
|
0 commit comments