|
1 | 1 | # -*- coding: utf-8 -*- |
2 | | -# Autogenerated by Sphinx on Tue Feb 7 12:04:02 2023 |
| 2 | +# Autogenerated by Sphinx on Tue Apr 4 22:56:51 2023 |
3 | 3 | topics = {'assert': 'The "assert" statement\n' |
4 | 4 | '**********************\n' |
5 | 5 | '\n' |
|
1136 | 1136 | 'future, a\n' |
1137 | 1137 | ' check may be added to prevent this.\n' |
1138 | 1138 | '\n' |
1139 | | - '* Nonempty *__slots__* does not work for classes derived ' |
1140 | | - 'from\n' |
1141 | | - ' “variable-length” built-in types such as "int", ' |
1142 | | - '"bytes" and "tuple".\n' |
| 1139 | + '* "TypeError" will be raised if nonempty *__slots__* are ' |
| 1140 | + 'defined for a\n' |
| 1141 | + ' class derived from a ""variable-length" built-in type" ' |
| 1142 | + 'such as\n' |
| 1143 | + ' "int", "bytes", and "tuple".\n' |
1143 | 1144 | '\n' |
1144 | 1145 | '* Any non-string *iterable* may be assigned to ' |
1145 | 1146 | '*__slots__*.\n' |
|
2999 | 3000 | 'AS\n' |
3000 | 3001 | 'pattern binds the subject to the name on the right of the as ' |
3001 | 3002 | 'keyword\n' |
3002 | | - 'and succeeds. "capture_pattern" cannot be a a "_".\n' |
| 3003 | + 'and succeeds. "capture_pattern" cannot be a "_".\n' |
3003 | 3004 | '\n' |
3004 | 3005 | 'In simple terms "P as NAME" will match with "P", and on success ' |
3005 | 3006 | 'it\n' |
|
4451 | 4452 | 'objects and\n' |
4452 | 4453 | ' implements an "__eq__()" method, it should not ' |
4453 | 4454 | 'implement\n' |
4454 | | - ' "__hash__()", since the implementation of hashable ' |
| 4455 | + ' "__hash__()", since the implementation of *hashable* ' |
4455 | 4456 | 'collections\n' |
4456 | 4457 | ' requires that a key’s hash value is immutable (if the ' |
4457 | 4458 | 'object’s hash\n' |
|
4602 | 4603 | 'scripts. For\n' |
4603 | 4604 | 'example:\n' |
4604 | 4605 | '\n' |
4605 | | - ' python3 -m pdb myscript.py\n' |
| 4606 | + ' python -m pdb myscript.py\n' |
4606 | 4607 | '\n' |
4607 | 4608 | 'When invoked as a script, pdb will automatically enter ' |
4608 | 4609 | 'post-mortem\n' |
|
4622 | 4623 | '\n' |
4623 | 4624 | 'New in version 3.7: "pdb.py" now accepts a "-m" option that ' |
4624 | 4625 | 'execute\n' |
4625 | | - 'modules similar to the way "python3 -m" does. As with a script, ' |
| 4626 | + 'modules similar to the way "python -m" does. As with a script, ' |
4626 | 4627 | 'the\n' |
4627 | 4628 | 'debugger will pause execution just before the first line of the\n' |
4628 | 4629 | 'module.\n' |
|
4686 | 4687 | 'object)\n' |
4687 | 4688 | ' under debugger control. When "runeval()" returns, it returns ' |
4688 | 4689 | 'the\n' |
4689 | | - ' value of the expression. Otherwise this function is similar ' |
4690 | | - 'to\n' |
| 4690 | + ' value of the *expression*. Otherwise this function is ' |
| 4691 | + 'similar to\n' |
4691 | 4692 | ' "run()".\n' |
4692 | 4693 | '\n' |
4693 | 4694 | 'pdb.runcall(function, *args, **kwds)\n' |
|
4944 | 4945 | 'ignore bpnumber [count]\n' |
4945 | 4946 | '\n' |
4946 | 4947 | ' Set the ignore count for the given breakpoint number. If ' |
4947 | | - 'count is\n' |
4948 | | - ' omitted, the ignore count is set to 0. A breakpoint becomes ' |
4949 | | - 'active\n' |
4950 | | - ' when the ignore count is zero. When non-zero, the count is\n' |
4951 | | - ' decremented each time the breakpoint is reached and the ' |
4952 | | - 'breakpoint\n' |
4953 | | - ' is not disabled and any associated condition evaluates to ' |
4954 | | - 'true.\n' |
| 4948 | + '*count*\n' |
| 4949 | + ' is omitted, the ignore count is set to 0. A breakpoint ' |
| 4950 | + 'becomes\n' |
| 4951 | + ' active when the ignore count is zero. When non-zero, the ' |
| 4952 | + '*count*\n' |
| 4953 | + ' is decremented each time the breakpoint is reached and the\n' |
| 4954 | + ' breakpoint is not disabled and any associated condition ' |
| 4955 | + 'evaluates\n' |
| 4956 | + ' to true.\n' |
4955 | 4957 | '\n' |
4956 | 4958 | 'condition bpnumber [condition]\n' |
4957 | 4959 | '\n' |
|
5001 | 5003 | ' breakpoint—which could have its own command list, leading to\n' |
5002 | 5004 | ' ambiguities about which list to execute.\n' |
5003 | 5005 | '\n' |
5004 | | - ' If you use the ‘silent’ command in the command list, the ' |
| 5006 | + ' If you use the "silent" command in the command list, the ' |
5005 | 5007 | 'usual\n' |
5006 | 5008 | ' message about stopping at a breakpoint is not printed. This ' |
5007 | 5009 | 'may be\n' |
|
5036 | 5038 | 'number\n' |
5037 | 5039 | ' greater than the current one is reached.\n' |
5038 | 5040 | '\n' |
5039 | | - ' With a line number, continue execution until a line with a ' |
5040 | | - 'number\n' |
5041 | | - ' greater or equal to that is reached. In both cases, also ' |
5042 | | - 'stop when\n' |
5043 | | - ' the current frame returns.\n' |
| 5041 | + ' With *lineno*, continue execution until a line with a number\n' |
| 5042 | + ' greater or equal to *lineno* is reached. In both cases, also ' |
| 5043 | + 'stop\n' |
| 5044 | + ' when the current frame returns.\n' |
5044 | 5045 | '\n' |
5045 | 5046 | ' Changed in version 3.2: Allow giving an explicit line ' |
5046 | 5047 | 'number.\n' |
|
5104 | 5105 | '\n' |
5105 | 5106 | 'p expression\n' |
5106 | 5107 | '\n' |
5107 | | - ' Evaluate the *expression* in the current context and print ' |
5108 | | - 'its\n' |
5109 | | - ' value.\n' |
| 5108 | + ' Evaluate *expression* in the current context and print its ' |
| 5109 | + 'value.\n' |
5110 | 5110 | '\n' |
5111 | 5111 | ' Note:\n' |
5112 | 5112 | '\n' |
|
5116 | 5116 | '\n' |
5117 | 5117 | 'pp expression\n' |
5118 | 5118 | '\n' |
5119 | | - ' Like the "p" command, except the value of the expression is ' |
| 5119 | + ' Like the "p" command, except the value of *expression* is ' |
5120 | 5120 | 'pretty-\n' |
5121 | 5121 | ' printed using the "pprint" module.\n' |
5122 | 5122 | '\n' |
5123 | 5123 | 'whatis expression\n' |
5124 | 5124 | '\n' |
5125 | | - ' Print the type of the *expression*.\n' |
| 5125 | + ' Print the type of *expression*.\n' |
5126 | 5126 | '\n' |
5127 | 5127 | 'source expression\n' |
5128 | 5128 | '\n' |
5129 | | - ' Try to get source code for the given object and display it.\n' |
| 5129 | + ' Try to get source code of *expression* and display it.\n' |
5130 | 5130 | '\n' |
5131 | 5131 | ' New in version 3.2.\n' |
5132 | 5132 | '\n' |
5133 | 5133 | 'display [expression]\n' |
5134 | 5134 | '\n' |
5135 | | - ' Display the value of the expression if it changed, each time\n' |
| 5135 | + ' Display the value of *expression* if it changed, each time\n' |
5136 | 5136 | ' execution stops in the current frame.\n' |
5137 | 5137 | '\n' |
5138 | | - ' Without expression, list all display expressions for the ' |
| 5138 | + ' Without *expression*, list all display expressions for the ' |
5139 | 5139 | 'current\n' |
5140 | 5140 | ' frame.\n' |
5141 | 5141 | '\n' |
5142 | 5142 | ' New in version 3.2.\n' |
5143 | 5143 | '\n' |
5144 | 5144 | 'undisplay [expression]\n' |
5145 | 5145 | '\n' |
5146 | | - ' Do not display the expression any more in the current frame.\n' |
5147 | | - ' Without expression, clear all display expressions for the ' |
5148 | | - 'current\n' |
5149 | | - ' frame.\n' |
| 5146 | + ' Do not display *expression* anymore in the current frame. ' |
| 5147 | + 'Without\n' |
| 5148 | + ' *expression*, clear all display expressions for the current ' |
| 5149 | + 'frame.\n' |
5150 | 5150 | '\n' |
5151 | 5151 | ' New in version 3.2.\n' |
5152 | 5152 | '\n' |
|
5162 | 5162 | '\n' |
5163 | 5163 | 'alias [name [command]]\n' |
5164 | 5164 | '\n' |
5165 | | - ' Create an alias called *name* that executes *command*. The ' |
5166 | | - 'command\n' |
5167 | | - ' must *not* be enclosed in quotes. Replaceable parameters can ' |
5168 | | - 'be\n' |
5169 | | - ' indicated by "%1", "%2", and so on, while "%*" is replaced by ' |
5170 | | - 'all\n' |
5171 | | - ' the parameters. If no command is given, the current alias ' |
5172 | | - 'for\n' |
5173 | | - ' *name* is shown. If no arguments are given, all aliases are ' |
5174 | | - 'listed.\n' |
| 5165 | + ' Create an alias called *name* that executes *command*. The\n' |
| 5166 | + ' *command* must *not* be enclosed in quotes. Replaceable ' |
| 5167 | + 'parameters\n' |
| 5168 | + ' can be indicated by "%1", "%2", and so on, while "%*" is ' |
| 5169 | + 'replaced\n' |
| 5170 | + ' by all the parameters. If *command* is omitted, the current ' |
| 5171 | + 'alias\n' |
| 5172 | + ' for *name* is shown. If no arguments are given, all aliases ' |
| 5173 | + 'are\n' |
| 5174 | + ' listed.\n' |
5175 | 5175 | '\n' |
5176 | 5176 | ' Aliases may be nested and can contain anything that can be ' |
5177 | 5177 | 'legally\n' |
|
5190 | 5190 | ' in the ".pdbrc" file):\n' |
5191 | 5191 | '\n' |
5192 | 5192 | ' # Print instance variables (usage "pi classInst")\n' |
5193 | | - ' alias pi for k in %1.__dict__.keys(): ' |
5194 | | - 'print("%1.",k,"=",%1.__dict__[k])\n' |
| 5193 | + ' alias pi for k in %1.__dict__.keys(): print(f"%1.{k} = ' |
| 5194 | + '{%1.__dict__[k]}")\n' |
5195 | 5195 | ' # Print instance variables in self\n' |
5196 | 5196 | ' alias ps pi self\n' |
5197 | 5197 | '\n' |
5198 | 5198 | 'unalias name\n' |
5199 | 5199 | '\n' |
5200 | | - ' Delete the specified alias.\n' |
| 5200 | + ' Delete the specified alias *name*.\n' |
5201 | 5201 | '\n' |
5202 | 5202 | '! statement\n' |
5203 | 5203 | '\n' |
|
5217 | 5217 | 'run [args ...]\n' |
5218 | 5218 | 'restart [args ...]\n' |
5219 | 5219 | '\n' |
5220 | | - ' Restart the debugged Python program. If an argument is ' |
5221 | | - 'supplied,\n' |
5222 | | - ' it is split with "shlex" and the result is used as the new\n' |
5223 | | - ' "sys.argv". History, breakpoints, actions and debugger ' |
5224 | | - 'options are\n' |
5225 | | - ' preserved. "restart" is an alias for "run".\n' |
| 5220 | + ' Restart the debugged Python program. If *args* is supplied, ' |
| 5221 | + 'it is\n' |
| 5222 | + ' split with "shlex" and the result is used as the new ' |
| 5223 | + '"sys.argv".\n' |
| 5224 | + ' History, breakpoints, actions and debugger options are ' |
| 5225 | + 'preserved.\n' |
| 5226 | + ' "restart" is an alias for "run".\n' |
5226 | 5227 | '\n' |
5227 | 5228 | 'q(uit)\n' |
5228 | 5229 | '\n' |
|
5231 | 5232 | '\n' |
5232 | 5233 | 'debug code\n' |
5233 | 5234 | '\n' |
5234 | | - ' Enter a recursive debugger that steps through the code ' |
5235 | | - 'argument\n' |
5236 | | - ' (which is an arbitrary expression or statement to be executed ' |
5237 | | - 'in\n' |
5238 | | - ' the current environment).\n' |
| 5235 | + ' Enter a recursive debugger that steps through *code* (which ' |
| 5236 | + 'is an\n' |
| 5237 | + ' arbitrary expression or statement to be executed in the ' |
| 5238 | + 'current\n' |
| 5239 | + ' environment).\n' |
5239 | 5240 | '\n' |
5240 | 5241 | 'retval\n' |
5241 | 5242 | '\n' |
|
9347 | 9348 | ' hashable collections. If a class defines mutable objects ' |
9348 | 9349 | 'and\n' |
9349 | 9350 | ' implements an "__eq__()" method, it should not implement\n' |
9350 | | - ' "__hash__()", since the implementation of hashable ' |
| 9351 | + ' "__hash__()", since the implementation of *hashable* ' |
9351 | 9352 | 'collections\n' |
9352 | 9353 | ' requires that a key’s hash value is immutable (if the ' |
9353 | 9354 | 'object’s hash\n' |
|
9885 | 9886 | 'future, a\n' |
9886 | 9887 | ' check may be added to prevent this.\n' |
9887 | 9888 | '\n' |
9888 | | - '* Nonempty *__slots__* does not work for classes derived ' |
9889 | | - 'from\n' |
9890 | | - ' “variable-length” built-in types such as "int", "bytes" ' |
9891 | | - 'and "tuple".\n' |
| 9889 | + '* "TypeError" will be raised if nonempty *__slots__* are ' |
| 9890 | + 'defined for a\n' |
| 9891 | + ' class derived from a ""variable-length" built-in type" ' |
| 9892 | + 'such as\n' |
| 9893 | + ' "int", "bytes", and "tuple".\n' |
9892 | 9894 | '\n' |
9893 | 9895 | '* Any non-string *iterable* may be assigned to *__slots__*.\n' |
9894 | 9896 | '\n' |
|
14160 | 14162 | ' New in version 3.10.\n' |
14161 | 14163 | '\n' |
14162 | 14164 | 'Keys views are set-like since their entries are unique and ' |
14163 | | - 'hashable.\n' |
| 14165 | + '*hashable*.\n' |
14164 | 14166 | 'If all values are hashable, so that "(key, value)" pairs are ' |
14165 | 14167 | 'unique\n' |
14166 | 14168 | 'and hashable, then the items view is also set-like. (Values ' |
|
0 commit comments