|
1 | 1 | # -*- coding: utf-8 -*- |
2 | | -# Autogenerated by Sphinx on Mon May 6 20:27:55 2019 |
| 2 | +# Autogenerated by Sphinx on Wed May 29 01:18:52 2019 |
3 | 3 | topics = {'assert': 'The "assert" statement\n' |
4 | 4 | '**********************\n' |
5 | 5 | '\n' |
|
2044 | 2044 | 'exception is raised, it is as if "in" raised that ' |
2045 | 2045 | 'exception).\n' |
2046 | 2046 | '\n' |
2047 | | - 'The operator "not in" is defined to have the inverse true ' |
| 2047 | + 'The operator "not in" is defined to have the inverse truth ' |
2048 | 2048 | 'value of\n' |
2049 | 2049 | '"in".\n' |
2050 | 2050 | '\n' |
2051 | 2051 | '\n' |
2052 | 2052 | 'Identity comparisons\n' |
2053 | 2053 | '====================\n' |
2054 | 2054 | '\n' |
2055 | | - 'The operators "is" and "is not" test for object identity: "x ' |
2056 | | - 'is y" is\n' |
2057 | | - 'true if and only if *x* and *y* are the same object. Object ' |
2058 | | - 'identity\n' |
2059 | | - 'is determined using the "id()" function. "x is not y" yields ' |
2060 | | - 'the\n' |
2061 | | - 'inverse truth value. [4]\n', |
| 2055 | + 'The operators "is" and "is not" test for an object’s ' |
| 2056 | + 'identity: "x is\n' |
| 2057 | + 'y" is true if and only if *x* and *y* are the same object. ' |
| 2058 | + 'An\n' |
| 2059 | + 'Object’s identity is determined using the "id()" function. ' |
| 2060 | + '"x is not\n' |
| 2061 | + 'y" yields the inverse truth value. [4]\n', |
2062 | 2062 | 'compound': 'Compound statements\n' |
2063 | 2063 | '*******************\n' |
2064 | 2064 | '\n' |
|
2558 | 2558 | '(see\n' |
2559 | 2559 | 'section The standard type hierarchy):\n' |
2560 | 2560 | '\n' |
2561 | | - ' funcdef ::= [decorators] "def" funcname "(" ' |
| 2561 | + ' funcdef ::= [decorators] "def" funcname "(" ' |
2562 | 2562 | '[parameter_list] ")"\n' |
2563 | 2563 | ' ["->" expression] ":" suite\n' |
2564 | | - ' decorators ::= decorator+\n' |
2565 | | - ' decorator ::= "@" dotted_name ["(" ' |
| 2564 | + ' decorators ::= decorator+\n' |
| 2565 | + ' decorator ::= "@" dotted_name ["(" ' |
2566 | 2566 | '[argument_list [","]] ")"] NEWLINE\n' |
2567 | | - ' dotted_name ::= identifier ("." identifier)*\n' |
2568 | | - ' parameter_list ::= defparameter ("," defparameter)* ' |
2569 | | - '["," [parameter_list_starargs]]\n' |
2570 | | - ' | parameter_list_starargs\n' |
2571 | | - ' parameter_list_starargs ::= "*" [parameter] ("," ' |
| 2567 | + ' dotted_name ::= identifier ("." identifier)*\n' |
| 2568 | + ' parameter_list ::= defparameter ("," ' |
| 2569 | + 'defparameter)* "," "/" ["," [parameter_list_no_posonly]]\n' |
| 2570 | + ' | parameter_list_no_posonly\n' |
| 2571 | + ' parameter_list_no_posonly ::= defparameter ("," ' |
| 2572 | + 'defparameter)* ["," [parameter_list_starargs]]\n' |
| 2573 | + ' | parameter_list_starargs\n' |
| 2574 | + ' parameter_list_starargs ::= "*" [parameter] ("," ' |
2572 | 2575 | 'defparameter)* ["," ["**" parameter [","]]]\n' |
2573 | 2576 | ' | "**" parameter [","]\n' |
2574 | | - ' parameter ::= identifier [":" expression]\n' |
2575 | | - ' defparameter ::= parameter ["=" expression]\n' |
2576 | | - ' funcname ::= identifier\n' |
| 2577 | + ' parameter ::= identifier [":" expression]\n' |
| 2578 | + ' defparameter ::= parameter ["=" expression]\n' |
| 2579 | + ' funcname ::= identifier\n' |
2577 | 2580 | '\n' |
2578 | 2581 | 'A function definition is an executable statement. Its execution ' |
2579 | 2582 | 'binds\n' |
|
4363 | 4366 | 'terminates\n' |
4364 | 4367 | 'execution of the program, or returns to its interactive main ' |
4365 | 4368 | 'loop. In\n' |
4366 | | - 'either case, it prints a stack backtrace, except when the ' |
| 4369 | + 'either case, it prints a stack traceback, except when the ' |
4367 | 4370 | 'exception is\n' |
4368 | 4371 | '"SystemExit".\n' |
4369 | 4372 | '\n' |
|
4684 | 4687 | 'terminates\n' |
4685 | 4688 | 'execution of the program, or returns to its interactive main ' |
4686 | 4689 | 'loop. In\n' |
4687 | | - 'either case, it prints a stack backtrace, except when the ' |
| 4690 | + 'either case, it prints a stack traceback, except when the ' |
4688 | 4691 | 'exception is\n' |
4689 | 4692 | '"SystemExit".\n' |
4690 | 4693 | '\n' |
|
5078 | 5081 | 'Meaning ' |
5079 | 5082 | '|\n' |
5080 | 5083 | ' ' |
5081 | | - '+===========+============================================================+\n' |
| 5084 | + '|===========|============================================================|\n' |
5082 | 5085 | ' | "\'<\'" | Forces the field to be left-aligned ' |
5083 | 5086 | 'within the available |\n' |
5084 | 5087 | ' | | space (this is the default for most ' |
|
5127 | 5130 | 'Meaning ' |
5128 | 5131 | '|\n' |
5129 | 5132 | ' ' |
5130 | | - '+===========+============================================================+\n' |
| 5133 | + '|===========|============================================================|\n' |
5131 | 5134 | ' | "\'+\'" | indicates that a sign should be used for ' |
5132 | 5135 | 'both positive as |\n' |
5133 | 5136 | ' | | well as negative ' |
|
5231 | 5234 | 'Meaning ' |
5232 | 5235 | '|\n' |
5233 | 5236 | ' ' |
5234 | | - '+===========+============================================================+\n' |
| 5237 | + '|===========|============================================================|\n' |
5235 | 5238 | ' | "\'s\'" | String format. This is the default type ' |
5236 | 5239 | 'for strings and |\n' |
5237 | 5240 | ' | | may be ' |
|
5251 | 5254 | 'Meaning ' |
5252 | 5255 | '|\n' |
5253 | 5256 | ' ' |
5254 | | - '+===========+============================================================+\n' |
| 5257 | + '|===========|============================================================|\n' |
5255 | 5258 | ' | "\'b\'" | Binary format. Outputs the number in ' |
5256 | 5259 | 'base 2. |\n' |
5257 | 5260 | ' ' |
|
5313 | 5316 | 'Meaning ' |
5314 | 5317 | '|\n' |
5315 | 5318 | ' ' |
5316 | | - '+===========+============================================================+\n' |
| 5319 | + '|===========|============================================================|\n' |
5317 | 5320 | ' | "\'e\'" | Exponent notation. Prints the number in ' |
5318 | 5321 | 'scientific |\n' |
5319 | 5322 | ' | | notation using the letter ‘e’ to indicate ' |
|
5584 | 5587 | '(see\n' |
5585 | 5588 | 'section The standard type hierarchy):\n' |
5586 | 5589 | '\n' |
5587 | | - ' funcdef ::= [decorators] "def" funcname "(" ' |
| 5590 | + ' funcdef ::= [decorators] "def" funcname "(" ' |
5588 | 5591 | '[parameter_list] ")"\n' |
5589 | 5592 | ' ["->" expression] ":" suite\n' |
5590 | | - ' decorators ::= decorator+\n' |
5591 | | - ' decorator ::= "@" dotted_name ["(" ' |
| 5593 | + ' decorators ::= decorator+\n' |
| 5594 | + ' decorator ::= "@" dotted_name ["(" ' |
5592 | 5595 | '[argument_list [","]] ")"] NEWLINE\n' |
5593 | | - ' dotted_name ::= identifier ("." identifier)*\n' |
5594 | | - ' parameter_list ::= defparameter ("," defparameter)* ' |
5595 | | - '["," [parameter_list_starargs]]\n' |
5596 | | - ' | parameter_list_starargs\n' |
5597 | | - ' parameter_list_starargs ::= "*" [parameter] ("," ' |
| 5596 | + ' dotted_name ::= identifier ("." identifier)*\n' |
| 5597 | + ' parameter_list ::= defparameter ("," ' |
| 5598 | + 'defparameter)* "," "/" ["," [parameter_list_no_posonly]]\n' |
| 5599 | + ' | parameter_list_no_posonly\n' |
| 5600 | + ' parameter_list_no_posonly ::= defparameter ("," ' |
| 5601 | + 'defparameter)* ["," [parameter_list_starargs]]\n' |
| 5602 | + ' | parameter_list_starargs\n' |
| 5603 | + ' parameter_list_starargs ::= "*" [parameter] ("," ' |
5598 | 5604 | 'defparameter)* ["," ["**" parameter [","]]]\n' |
5599 | 5605 | ' | "**" parameter [","]\n' |
5600 | | - ' parameter ::= identifier [":" expression]\n' |
5601 | | - ' defparameter ::= parameter ["=" expression]\n' |
5602 | | - ' funcname ::= identifier\n' |
| 5606 | + ' parameter ::= identifier [":" expression]\n' |
| 5607 | + ' defparameter ::= parameter ["=" expression]\n' |
| 5608 | + ' funcname ::= identifier\n' |
5603 | 5609 | '\n' |
5604 | 5610 | 'A function definition is an executable statement. Its execution ' |
5605 | 5611 | 'binds\n' |
|
6338 | 6344 | 'integer indices do not raise "IndexError" exception. (If any other\n' |
6339 | 6345 | 'exception is raised, it is as if "in" raised that exception).\n' |
6340 | 6346 | '\n' |
6341 | | - 'The operator "not in" is defined to have the inverse true value of\n' |
| 6347 | + 'The operator "not in" is defined to have the inverse truth value of\n' |
6342 | 6348 | '"in".\n', |
6343 | 6349 | 'integers': 'Integer literals\n' |
6344 | 6350 | '****************\n' |
|
7019 | 7025 | '+-------------------------------------------------+---------------------------------------+\n' |
7020 | 7026 | '| Operator | ' |
7021 | 7027 | 'Description |\n' |
7022 | | - '+=================================================+=======================================+\n' |
| 7028 | + '|=================================================|=======================================|\n' |
7023 | 7029 | '| "lambda" | ' |
7024 | 7030 | 'Lambda expression |\n' |
7025 | 7031 | '+-------------------------------------------------+---------------------------------------+\n' |
|
10263 | 10269 | ' | Representation | ' |
10264 | 10270 | 'Description |\n' |
10265 | 10271 | ' ' |
10266 | | - '+=========================+===============================+\n' |
| 10272 | + '|=========================|===============================|\n' |
10267 | 10273 | ' | "\\n" | Line ' |
10268 | 10274 | 'Feed |\n' |
10269 | 10275 | ' ' |
|
10602 | 10608 | '+-------------------+-----------------------------------+---------+\n' |
10603 | 10609 | '| Escape Sequence | Meaning | Notes ' |
10604 | 10610 | '|\n' |
10605 | | - '+===================+===================================+=========+\n' |
| 10611 | + '|===================|===================================|=========|\n' |
10606 | 10612 | '| "\\newline" | Backslash and newline ignored ' |
10607 | 10613 | '| |\n' |
10608 | 10614 | '+-------------------+-----------------------------------+---------+\n' |
|
10648 | 10654 | '+-------------------+-----------------------------------+---------+\n' |
10649 | 10655 | '| Escape Sequence | Meaning | Notes ' |
10650 | 10656 | '|\n' |
10651 | | - '+===================+===================================+=========+\n' |
| 10657 | + '|===================|===================================|=========|\n' |
10652 | 10658 | '| "\\N{name}" | Character named *name* in the | ' |
10653 | 10659 | '(4) |\n' |
10654 | 10660 | '| | Unicode database | ' |
|
11286 | 11292 | ' | Attribute | Meaning ' |
11287 | 11293 | '| |\n' |
11288 | 11294 | ' ' |
11289 | | - '+===========================+=================================+=============+\n' |
| 11295 | + '|===========================|=================================|=============|\n' |
11290 | 11296 | ' | "__doc__" | The function’s documentation ' |
11291 | 11297 | '| Writable |\n' |
11292 | 11298 | ' | | string, or "None" if ' |
|
12557 | 12563 | '+----------------------------+----------------------------------+------------+\n' |
12558 | 12564 | '| Operation | Result ' |
12559 | 12565 | '| Notes |\n' |
12560 | | - '+============================+==================================+============+\n' |
| 12566 | + '|============================|==================================|============|\n' |
12561 | 12567 | '| "x in s" | "True" if an item of *s* is ' |
12562 | 12568 | '| (1) |\n' |
12563 | 12569 | '| | equal to *x*, else "False" ' |
|
12786 | 12792 | '+--------------------------------+----------------------------------+-----------------------+\n' |
12787 | 12793 | '| Operation | ' |
12788 | 12794 | 'Result | Notes |\n' |
12789 | | - '+================================+==================================+=======================+\n' |
| 12795 | + '|================================|==================================|=======================|\n' |
12790 | 12796 | '| "s[i] = x" | item *i* of *s* is replaced ' |
12791 | 12797 | 'by | |\n' |
12792 | 12798 | '| | ' |
|
12872 | 12878 | 'default\n' |
12873 | 12879 | ' the last item is removed and returned.\n' |
12874 | 12880 | '\n' |
12875 | | - '3. "remove" raises "ValueError" when *x* is not found in *s*.\n' |
| 12881 | + '3. "remove()" raises "ValueError" when *x* is not found in *s*.\n' |
12876 | 12882 | '\n' |
12877 | 12883 | '4. The "reverse()" method modifies the sequence in place for\n' |
12878 | 12884 | ' economy of space when reversing a large sequence. To remind ' |
|
12883 | 12889 | '\n' |
12884 | 12890 | '5. "clear()" and "copy()" are included for consistency with the\n' |
12885 | 12891 | ' interfaces of mutable containers that don’t support slicing\n' |
12886 | | - ' operations (such as "dict" and "set")\n' |
| 12892 | + ' operations (such as "dict" and "set"). "copy()" is not part ' |
| 12893 | + 'of the\n' |
| 12894 | + ' "collections.abc.MutableSequence" ABC, but most concrete ' |
| 12895 | + 'mutable\n' |
| 12896 | + ' sequence classes provide it.\n' |
12887 | 12897 | '\n' |
12888 | 12898 | ' New in version 3.3: "clear()" and "copy()" methods.\n' |
12889 | 12899 | '\n' |
|
13244 | 13254 | '| Operation | ' |
13245 | 13255 | 'Result | Notes ' |
13246 | 13256 | '|\n' |
13247 | | - '+================================+==================================+=======================+\n' |
| 13257 | + '|================================|==================================|=======================|\n' |
13248 | 13258 | '| "s[i] = x" | item *i* of *s* is ' |
13249 | 13259 | 'replaced by | |\n' |
13250 | 13260 | '| | ' |
|
13333 | 13343 | 'by default\n' |
13334 | 13344 | ' the last item is removed and returned.\n' |
13335 | 13345 | '\n' |
13336 | | - '3. "remove" raises "ValueError" when *x* is not found in ' |
13337 | | - '*s*.\n' |
| 13346 | + '3. "remove()" raises "ValueError" when *x* is not found ' |
| 13347 | + 'in *s*.\n' |
13338 | 13348 | '\n' |
13339 | 13349 | '4. The "reverse()" method modifies the sequence in place ' |
13340 | 13350 | 'for\n' |
|
13348 | 13358 | 'with the\n' |
13349 | 13359 | ' interfaces of mutable containers that don’t support ' |
13350 | 13360 | 'slicing\n' |
13351 | | - ' operations (such as "dict" and "set")\n' |
| 13361 | + ' operations (such as "dict" and "set"). "copy()" is ' |
| 13362 | + 'not part of the\n' |
| 13363 | + ' "collections.abc.MutableSequence" ABC, but most ' |
| 13364 | + 'concrete mutable\n' |
| 13365 | + ' sequence classes provide it.\n' |
13352 | 13366 | '\n' |
13353 | 13367 | ' New in version 3.3: "clear()" and "copy()" methods.\n' |
13354 | 13368 | '\n' |
|
0 commit comments