Skip to content

Commit 7d4cc5a

Browse files
committed
Python 3.10.11
1 parent ec80ffe commit 7d4cc5a

File tree

40 files changed

+432
-135
lines changed

40 files changed

+432
-135
lines changed

Include/patchlevel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
/*--start constants--*/
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 10
21-
#define PY_MICRO_VERSION 10
21+
#define PY_MICRO_VERSION 11
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
2323
#define PY_RELEASE_SERIAL 0
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.10.10+"
26+
#define PY_VERSION "3.10.11"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

Lib/pydoc_data/topics.py

Lines changed: 69 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- 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
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -1136,10 +1136,11 @@
11361136
'future, a\n'
11371137
' check may be added to prevent this.\n'
11381138
'\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'
11431144
'\n'
11441145
'* Any non-string *iterable* may be assigned to '
11451146
'*__slots__*.\n'
@@ -2999,7 +3000,7 @@
29993000
'AS\n'
30003001
'pattern binds the subject to the name on the right of the as '
30013002
'keyword\n'
3002-
'and succeeds. "capture_pattern" cannot be a a "_".\n'
3003+
'and succeeds. "capture_pattern" cannot be a "_".\n'
30033004
'\n'
30043005
'In simple terms "P as NAME" will match with "P", and on success '
30053006
'it\n'
@@ -4451,7 +4452,7 @@
44514452
'objects and\n'
44524453
' implements an "__eq__()" method, it should not '
44534454
'implement\n'
4454-
' "__hash__()", since the implementation of hashable '
4455+
' "__hash__()", since the implementation of *hashable* '
44554456
'collections\n'
44564457
' requires that a key’s hash value is immutable (if the '
44574458
'object’s hash\n'
@@ -4602,7 +4603,7 @@
46024603
'scripts. For\n'
46034604
'example:\n'
46044605
'\n'
4605-
' python3 -m pdb myscript.py\n'
4606+
' python -m pdb myscript.py\n'
46064607
'\n'
46074608
'When invoked as a script, pdb will automatically enter '
46084609
'post-mortem\n'
@@ -4622,7 +4623,7 @@
46224623
'\n'
46234624
'New in version 3.7: "pdb.py" now accepts a "-m" option that '
46244625
'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, '
46264627
'the\n'
46274628
'debugger will pause execution just before the first line of the\n'
46284629
'module.\n'
@@ -4686,8 +4687,8 @@
46864687
'object)\n'
46874688
' under debugger control. When "runeval()" returns, it returns '
46884689
'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'
46914692
' "run()".\n'
46924693
'\n'
46934694
'pdb.runcall(function, *args, **kwds)\n'
@@ -4944,14 +4945,15 @@
49444945
'ignore bpnumber [count]\n'
49454946
'\n'
49464947
' 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'
49554957
'\n'
49564958
'condition bpnumber [condition]\n'
49574959
'\n'
@@ -5001,7 +5003,7 @@
50015003
' breakpoint—which could have its own command list, leading to\n'
50025004
' ambiguities about which list to execute.\n'
50035005
'\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 '
50055007
'usual\n'
50065008
' message about stopping at a breakpoint is not printed. This '
50075009
'may be\n'
@@ -5036,11 +5038,10 @@
50365038
'number\n'
50375039
' greater than the current one is reached.\n'
50385040
'\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'
50445045
'\n'
50455046
' Changed in version 3.2: Allow giving an explicit line '
50465047
'number.\n'
@@ -5104,9 +5105,8 @@
51045105
'\n'
51055106
'p expression\n'
51065107
'\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'
51105110
'\n'
51115111
' Note:\n'
51125112
'\n'
@@ -5116,37 +5116,37 @@
51165116
'\n'
51175117
'pp expression\n'
51185118
'\n'
5119-
' Like the "p" command, except the value of the expression is '
5119+
' Like the "p" command, except the value of *expression* is '
51205120
'pretty-\n'
51215121
' printed using the "pprint" module.\n'
51225122
'\n'
51235123
'whatis expression\n'
51245124
'\n'
5125-
' Print the type of the *expression*.\n'
5125+
' Print the type of *expression*.\n'
51265126
'\n'
51275127
'source expression\n'
51285128
'\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'
51305130
'\n'
51315131
' New in version 3.2.\n'
51325132
'\n'
51335133
'display [expression]\n'
51345134
'\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'
51365136
' execution stops in the current frame.\n'
51375137
'\n'
5138-
' Without expression, list all display expressions for the '
5138+
' Without *expression*, list all display expressions for the '
51395139
'current\n'
51405140
' frame.\n'
51415141
'\n'
51425142
' New in version 3.2.\n'
51435143
'\n'
51445144
'undisplay [expression]\n'
51455145
'\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'
51505150
'\n'
51515151
' New in version 3.2.\n'
51525152
'\n'
@@ -5162,16 +5162,16 @@
51625162
'\n'
51635163
'alias [name [command]]\n'
51645164
'\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'
51755175
'\n'
51765176
' Aliases may be nested and can contain anything that can be '
51775177
'legally\n'
@@ -5190,14 +5190,14 @@
51905190
' in the ".pdbrc" file):\n'
51915191
'\n'
51925192
' # 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'
51955195
' # Print instance variables in self\n'
51965196
' alias ps pi self\n'
51975197
'\n'
51985198
'unalias name\n'
51995199
'\n'
5200-
' Delete the specified alias.\n'
5200+
' Delete the specified alias *name*.\n'
52015201
'\n'
52025202
'! statement\n'
52035203
'\n'
@@ -5217,12 +5217,13 @@
52175217
'run [args ...]\n'
52185218
'restart [args ...]\n'
52195219
'\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'
52265227
'\n'
52275228
'q(uit)\n'
52285229
'\n'
@@ -5231,11 +5232,11 @@
52315232
'\n'
52325233
'debug code\n'
52335234
'\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'
52395240
'\n'
52405241
'retval\n'
52415242
'\n'
@@ -9347,7 +9348,7 @@
93479348
' hashable collections. If a class defines mutable objects '
93489349
'and\n'
93499350
' implements an "__eq__()" method, it should not implement\n'
9350-
' "__hash__()", since the implementation of hashable '
9351+
' "__hash__()", since the implementation of *hashable* '
93519352
'collections\n'
93529353
' requires that a key’s hash value is immutable (if the '
93539354
'object’s hash\n'
@@ -9885,10 +9886,11 @@
98859886
'future, a\n'
98869887
' check may be added to prevent this.\n'
98879888
'\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'
98929894
'\n'
98939895
'* Any non-string *iterable* may be assigned to *__slots__*.\n'
98949896
'\n'
@@ -14160,7 +14162,7 @@
1416014162
' New in version 3.10.\n'
1416114163
'\n'
1416214164
'Keys views are set-like since their entries are unique and '
14163-
'hashable.\n'
14165+
'*hashable*.\n'
1416414166
'If all values are hashable, so that "(key, value)" pairs are '
1416514167
'unique\n'
1416614168
'and hashable, then the items view is also set-like. (Values '

0 commit comments

Comments
 (0)