summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc_data/topics.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pydoc_data/topics.py')
-rw-r--r--Lib/pydoc_data/topics.py297
1 files changed, 185 insertions, 112 deletions
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py
index 26fc498..4643df8 100644
--- a/Lib/pydoc_data/topics.py
+++ b/Lib/pydoc_data/topics.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Autogenerated by Sphinx on Tue Apr 9 11:53:07 2024
+# Autogenerated by Sphinx on Wed May 8 11:11:17 2024
# as part of the release process.
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
@@ -419,7 +419,7 @@ topics = {'assert': 'The "assert" statement\n'
'async': 'Coroutines\n'
'**********\n'
'\n'
- 'New in version 3.5.\n'
+ 'Added in version 3.5.\n'
'\n'
'\n'
'Coroutine function definition\n'
@@ -792,7 +792,7 @@ topics = {'assert': 'The "assert" statement\n'
'Changed in version 3.5: "__class__" module attribute is '
'now writable.\n'
'\n'
- 'New in version 3.7: "__getattr__" and "__dir__" module '
+ 'Added in version 3.7: "__getattr__" and "__dir__" module '
'attributes.\n'
'\n'
'See also:\n'
@@ -1206,7 +1206,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' await_expr ::= "await" primary\n'
'\n'
- 'New in version 3.5.\n',
+ 'Added in version 3.5.\n',
'binary': 'Binary arithmetic operations\n'
'****************************\n'
'\n'
@@ -1239,7 +1239,7 @@ topics = {'assert': 'The "assert" statement\n'
'The "@" (at) operator is intended to be used for matrix\n'
'multiplication. No builtin Python types implement this operator.\n'
'\n'
- 'New in version 3.5.\n'
+ 'Added in version 3.5.\n'
'\n'
'The "/" (division) and "//" (floor division) operators yield the\n'
'quotient of their arguments. The numeric arguments are first\n'
@@ -2765,7 +2765,7 @@ topics = {'assert': 'The "assert" statement\n'
'The "match" statement\n'
'=====================\n'
'\n'
- 'New in version 3.10.\n'
+ 'Added in version 3.10.\n'
'\n'
'The match statement is used for pattern matching. Syntax:\n'
'\n'
@@ -3849,7 +3849,7 @@ topics = {'assert': 'The "assert" statement\n'
'Coroutines\n'
'==========\n'
'\n'
- 'New in version 3.5.\n'
+ 'Added in version 3.5.\n'
'\n'
'\n'
'Coroutine function definition\n'
@@ -3976,13 +3976,18 @@ topics = {'assert': 'The "assert" statement\n'
'Type parameter lists\n'
'====================\n'
'\n'
- 'New in version 3.12.\n'
+ 'Added in version 3.12.\n'
+ '\n'
+ 'Changed in version 3.13: Support for default values was added '
+ '(see\n'
+ '**PEP 696**).\n'
'\n'
' type_params ::= "[" type_param ("," type_param)* "]"\n'
' type_param ::= typevar | typevartuple | paramspec\n'
- ' typevar ::= identifier (":" expression)?\n'
- ' typevartuple ::= "*" identifier\n'
- ' paramspec ::= "**" identifier\n'
+ ' typevar ::= identifier (":" expression)? ("=" '
+ 'expression)?\n'
+ ' typevartuple ::= "*" identifier ("=" expression)?\n'
+ ' paramspec ::= "**" identifier ("=" expression)?\n'
'\n'
'Functions (including coroutines), classes and type aliases may '
'contain\n'
@@ -4081,21 +4086,41 @@ topics = {'assert': 'The "assert" statement\n'
'bounds or\n'
'constraints.\n'
'\n'
+ 'All three flavors of type parameters can also have a *default '
+ 'value*,\n'
+ 'which is used when the type parameter is not explicitly '
+ 'provided. This\n'
+ 'is added by appending a single equals sign ("=") followed by an\n'
+ 'expression. Like the bounds and constraints of type variables, '
+ 'the\n'
+ 'default value is not evaluated when the object is created, but '
+ 'only\n'
+ 'when the type parameter’s "__default__" attribute is accessed. '
+ 'To this\n'
+ 'end, the default value is evaluated in a separate annotation '
+ 'scope. If\n'
+ 'no default value is specified for a type parameter, the '
+ '"__default__"\n'
+ 'attribute is set to the special sentinel object '
+ '"typing.NoDefault".\n'
+ '\n'
'The following example indicates the full set of allowed type '
'parameter\n'
'declarations:\n'
'\n'
' def overly_generic[\n'
' SimpleTypeVar,\n'
+ ' TypeVarWithDefault = int,\n'
' TypeVarWithBound: int,\n'
' TypeVarWithConstraints: (str, bytes),\n'
- ' *SimpleTypeVarTuple,\n'
- ' **SimpleParamSpec,\n'
+ ' *SimpleTypeVarTuple = (int, float),\n'
+ ' **SimpleParamSpec = (str, bytearray),\n'
' ](\n'
' a: SimpleTypeVar,\n'
- ' b: TypeVarWithBound,\n'
- ' c: Callable[SimpleParamSpec, TypeVarWithConstraints],\n'
- ' *d: SimpleTypeVarTuple,\n'
+ ' b: TypeVarWithDefault,\n'
+ ' c: TypeVarWithBound,\n'
+ ' d: Callable[SimpleParamSpec, TypeVarWithConstraints],\n'
+ ' *e: SimpleTypeVarTuple,\n'
' ): ...\n'
'\n'
'\n'
@@ -4940,8 +4965,8 @@ topics = {'assert': 'The "assert" statement\n'
'you are\n'
'in debug mode:\n'
'\n'
- ' > ...(3)double()\n'
- ' -> return x * 2\n'
+ ' > ...(2)double()\n'
+ ' -> breakpoint()\n'
' (Pdb) p x\n'
' 3\n'
' (Pdb) continue\n'
@@ -5063,6 +5088,11 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Changed in version 3.7: The keyword-only argument *header*.\n'
'\n'
+ ' Changed in version 3.13: "set_trace()" will enter the '
+ 'debugger\n'
+ ' immediately, rather than on the next line of code to be '
+ 'executed.\n'
+ '\n'
'pdb.post_mortem(traceback=None)\n'
'\n'
' Enter post-mortem debugging of the given *traceback* object. '
@@ -5215,7 +5245,7 @@ topics = {'assert': 'The "assert" statement\n'
'* "$_exception": the exception if the frame is raising an '
'exception\n'
'\n'
- 'New in version 3.12.\n'
+ 'Added in version 3.12.\n'
'\n'
'If a file ".pdbrc" exists in the user’s home directory or in '
'the\n'
@@ -5271,19 +5301,22 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'b(reak) [([filename:]lineno | function) [, condition]]\n'
'\n'
- ' With a *lineno* argument, set a break there in the current '
- 'file.\n'
+ ' With a *lineno* argument, set a break at line *lineno* in '
+ 'the\n'
+ ' current file. The line number may be prefixed with a '
+ '*filename* and\n'
+ ' a colon, to specify a breakpoint in another file (possibly '
+ 'one that\n'
+ ' hasn’t been loaded yet). The file is searched on '
+ '"sys.path".\n'
+ ' Accepatable forms of *filename* are "/abspath/to/file.py",\n'
+ ' "relpath/file.py", "module" and "package.module".\n'
+ '\n'
' With a *function* argument, set a break at the first '
'executable\n'
- ' statement within that function. The line number may be '
- 'prefixed\n'
- ' with a filename and a colon, to specify a breakpoint in '
- 'another\n'
- ' file (probably one that hasn’t been loaded yet). The file '
- 'is\n'
- ' searched on "sys.path". Note that each breakpoint is '
- 'assigned a\n'
- ' number to which all the other breakpoint commands refer.\n'
+ ' statement within that function. *function* can be any '
+ 'expression\n'
+ ' that evaluates to a function in the current namespace.\n'
'\n'
' If a second argument is present, it is an expression which '
'must\n'
@@ -5295,6 +5328,9 @@ topics = {'assert': 'The "assert" statement\n'
'current\n'
' ignore count, and the associated condition if any.\n'
'\n'
+ ' Each breakpoint is assigned a number to which all the other\n'
+ ' breakpoint commands refer.\n'
+ '\n'
'tbreak [([filename:]lineno | function) [, condition]]\n'
'\n'
' Temporary breakpoint, which is removed automatically when it '
@@ -5479,7 +5515,7 @@ topics = {'assert': 'The "assert" statement\n'
' List all source code for the current function or frame.\n'
' Interesting lines are marked as for "list".\n'
'\n'
- ' New in version 3.2.\n'
+ ' Added in version 3.2.\n'
'\n'
'a(rgs)\n'
'\n'
@@ -5512,7 +5548,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Try to get source code of *expression* and display it.\n'
'\n'
- ' New in version 3.2.\n'
+ ' Added in version 3.2.\n'
'\n'
'display [expression]\n'
'\n'
@@ -5571,7 +5607,7 @@ topics = {'assert': 'The "assert" statement\n'
' display lst[:]: [1] [old: []]\n'
' (Pdb)\n'
'\n'
- ' New in version 3.2.\n'
+ ' Added in version 3.2.\n'
'\n'
'undisplay [expression]\n'
'\n'
@@ -5580,7 +5616,7 @@ topics = {'assert': 'The "assert" statement\n'
' *expression*, clear all display expressions for the current '
'frame.\n'
'\n'
- ' New in version 3.2.\n'
+ ' Added in version 3.2.\n'
'\n'
'interact\n'
'\n'
@@ -5603,7 +5639,7 @@ topics = {'assert': 'The "assert" statement\n'
' the mutable objects will be reflected in the original '
'namespaces.\n'
'\n'
- ' New in version 3.2.\n'
+ ' Added in version 3.2.\n'
'\n'
' Changed in version 3.13: "exit()" and "quit()" can be used to '
'exit\n'
@@ -5748,7 +5784,7 @@ topics = {'assert': 'The "assert" statement\n'
' > example.py(10)middle()\n'
' -> return inner(0)\n'
'\n'
- ' New in version 3.13.\n'
+ ' Added in version 3.13.\n'
'\n'
'-[ Footnotes ]-\n'
'\n'
@@ -5813,7 +5849,8 @@ topics = {'assert': 'The "assert" statement\n'
'dict\n'
'items and earlier dictionary unpackings.\n'
'\n'
- 'New in version 3.5: Unpacking into dictionary displays, originally\n'
+ 'Added in version 3.5: Unpacking into dictionary displays, '
+ 'originally\n'
'proposed by **PEP 448**.\n'
'\n'
'A dict comprehension, in contrast to list and set comprehensions,\n'
@@ -6121,9 +6158,12 @@ topics = {'assert': 'The "assert" statement\n'
'of the module "builtins". The global namespace is searched '
'first. If\n'
'the names are not found there, the builtins namespace is '
- 'searched.\n'
- 'The "global" statement must precede all uses of the listed '
- 'names.\n'
+ 'searched\n'
+ 'next. If the names are also not found in the builtins '
+ 'namespace, new\n'
+ 'variables are created in the global namespace. The global '
+ 'statement\n'
+ 'must precede all uses of the listed names.\n'
'\n'
'The "global" statement has the same scope as a name binding '
'operation\n'
@@ -6211,8 +6251,9 @@ topics = {'assert': 'The "assert" statement\n'
'annotation\n'
' scope, but its decorators are not.\n'
'\n'
- '* The bounds and constraints for type variables (lazily '
- 'evaluated).\n'
+ '* The bounds, constraints, and default values for type '
+ 'parameters\n'
+ ' (lazily evaluated).\n'
'\n'
'* The value of type aliases (lazily evaluated).\n'
'\n'
@@ -6255,9 +6296,13 @@ topics = {'assert': 'The "assert" statement\n'
'object were\n'
' defined in the enclosing scope.\n'
'\n'
- 'New in version 3.12: Annotation scopes were introduced in '
- 'Python 3.12\n'
- 'as part of **PEP 695**.\n'
+ 'Added in version 3.12: Annotation scopes were introduced in '
+ 'Python\n'
+ '3.12 as part of **PEP 695**.\n'
+ '\n'
+ 'Changed in version 3.13: Annotation scopes are also used for '
+ 'type\n'
+ 'parameter defaults, as introduced by **PEP 696**.\n'
'\n'
'\n'
'Lazy evaluation\n'
@@ -6265,15 +6310,15 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'The values of type aliases created through the "type" statement '
'are\n'
- '*lazily evaluated*. The same applies to the bounds and '
- 'constraints of\n'
- 'type variables created through the type parameter syntax. This '
- 'means\n'
- 'that they are not evaluated when the type alias or type '
- 'variable is\n'
- 'created. Instead, they are only evaluated when doing so is '
- 'necessary\n'
- 'to resolve an attribute access.\n'
+ '*lazily evaluated*. The same applies to the bounds, '
+ 'constraints, and\n'
+ 'default values of type variables created through the type '
+ 'parameter\n'
+ 'syntax. This means that they are not evaluated when the type '
+ 'alias or\n'
+ 'type variable is created. Instead, they are only evaluated when '
+ 'doing\n'
+ 'so is necessary to resolve an attribute access.\n'
'\n'
'Example:\n'
'\n'
@@ -6317,7 +6362,7 @@ topics = {'assert': 'The "assert" statement\n'
'looked up\n'
'as if they were used in the immediately enclosing scope.\n'
'\n'
- 'New in version 3.12.\n'
+ 'Added in version 3.12.\n'
'\n'
'\n'
'Builtins and restricted execution\n'
@@ -6472,9 +6517,8 @@ topics = {'assert': 'The "assert" statement\n'
'the\n'
'unpacking.\n'
'\n'
- 'New in version 3.5: Iterable unpacking in expression lists, '
- 'originally\n'
- 'proposed by **PEP 448**.\n'
+ 'Added in version 3.5: Iterable unpacking in expression lists,\n'
+ 'originally proposed by **PEP 448**.\n'
'\n'
'A trailing comma is required only to create a one-item tuple, '
'such as\n'
@@ -7769,7 +7813,7 @@ topics = {'assert': 'The "assert" statement\n'
'Soft Keywords\n'
'=============\n'
'\n'
- 'New in version 3.10.\n'
+ 'Added in version 3.10.\n'
'\n'
'Some identifiers are only reserved under specific contexts. '
'These are\n'
@@ -8397,9 +8441,12 @@ topics = {'assert': 'The "assert" statement\n'
'namespace\n'
'of the module "builtins". The global namespace is searched '
'first. If\n'
- 'the names are not found there, the builtins namespace is '
- 'searched.\n'
- 'The "global" statement must precede all uses of the listed names.\n'
+ 'the names are not found there, the builtins namespace is searched\n'
+ 'next. If the names are also not found in the builtins namespace, '
+ 'new\n'
+ 'variables are created in the global namespace. The global '
+ 'statement\n'
+ 'must precede all uses of the listed names.\n'
'\n'
'The "global" statement has the same scope as a name binding '
'operation\n'
@@ -8482,8 +8529,8 @@ topics = {'assert': 'The "assert" statement\n'
'annotation\n'
' scope, but its decorators are not.\n'
'\n'
- '* The bounds and constraints for type variables (lazily '
- 'evaluated).\n'
+ '* The bounds, constraints, and default values for type parameters\n'
+ ' (lazily evaluated).\n'
'\n'
'* The value of type aliases (lazily evaluated).\n'
'\n'
@@ -8523,9 +8570,12 @@ topics = {'assert': 'The "assert" statement\n'
'were\n'
' defined in the enclosing scope.\n'
'\n'
- 'New in version 3.12: Annotation scopes were introduced in Python '
- '3.12\n'
- 'as part of **PEP 695**.\n'
+ 'Added in version 3.12: Annotation scopes were introduced in '
+ 'Python\n'
+ '3.12 as part of **PEP 695**.\n'
+ '\n'
+ 'Changed in version 3.13: Annotation scopes are also used for type\n'
+ 'parameter defaults, as introduced by **PEP 696**.\n'
'\n'
'\n'
'Lazy evaluation\n'
@@ -8533,15 +8583,15 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'The values of type aliases created through the "type" statement '
'are\n'
- '*lazily evaluated*. The same applies to the bounds and constraints '
- 'of\n'
- 'type variables created through the type parameter syntax. This '
- 'means\n'
- 'that they are not evaluated when the type alias or type variable '
- 'is\n'
- 'created. Instead, they are only evaluated when doing so is '
- 'necessary\n'
- 'to resolve an attribute access.\n'
+ '*lazily evaluated*. The same applies to the bounds, constraints, '
+ 'and\n'
+ 'default values of type variables created through the type '
+ 'parameter\n'
+ 'syntax. This means that they are not evaluated when the type alias '
+ 'or\n'
+ 'type variable is created. Instead, they are only evaluated when '
+ 'doing\n'
+ 'so is necessary to resolve an attribute access.\n'
'\n'
'Example:\n'
'\n'
@@ -8584,7 +8634,7 @@ topics = {'assert': 'The "assert" statement\n'
'looked up\n'
'as if they were used in the immediately enclosing scope.\n'
'\n'
- 'New in version 3.12.\n'
+ 'Added in version 3.12.\n'
'\n'
'\n'
'Builtins and restricted execution\n'
@@ -9503,7 +9553,7 @@ topics = {'assert': 'The "assert" statement\n'
'for\n'
' correctness.\n'
'\n'
- ' New in version 3.4.\n'
+ ' Added in version 3.4.\n'
'\n'
'Note:\n'
'\n'
@@ -9754,7 +9804,7 @@ topics = {'assert': 'The "assert" statement\n'
'descriptor, or\n'
' generator instance.\n'
'\n'
- ' New in version 3.3.\n'
+ ' Added in version 3.3.\n'
'\n'
'definition.__type_params__\n'
'\n'
@@ -9762,7 +9812,7 @@ topics = {'assert': 'The "assert" statement\n'
'type\n'
' aliases.\n'
'\n'
- ' New in version 3.12.\n'
+ ' Added in version 3.12.\n'
'\n'
'class.__mro__\n'
'\n'
@@ -9788,7 +9838,15 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' >>> int.__subclasses__()\n'
" [<class 'bool'>, <enum 'IntEnum'>, <flag 'IntFlag'>, "
- "<class 're._constants._NamedIntConstant'>]\n",
+ "<class 're._constants._NamedIntConstant'>]\n"
+ '\n'
+ 'class.__static_attributes__\n'
+ '\n'
+ ' A tuple containing names of attributes of this class '
+ 'which are\n'
+ ' accessed through "self.X" from any function in its body.\n'
+ '\n'
+ ' Added in version 3.13.\n',
'specialnames': 'Special method names\n'
'********************\n'
'\n'
@@ -10471,7 +10529,7 @@ topics = {'assert': 'The "assert" statement\n'
'Changed in version 3.5: "__class__" module attribute is now '
'writable.\n'
'\n'
- 'New in version 3.7: "__getattr__" and "__dir__" module '
+ 'Added in version 3.7: "__getattr__" and "__dir__" module '
'attributes.\n'
'\n'
'See also:\n'
@@ -10840,7 +10898,7 @@ topics = {'assert': 'The "assert" statement\n'
'explicit\n'
' hint) can be accessed as "type(cls)".\n'
'\n'
- ' New in version 3.6.\n'
+ ' Added in version 3.6.\n'
'\n'
'When a class is created, "type.__new__()" scans the class '
'variables\n'
@@ -10872,7 +10930,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' See Creating the class object for more details.\n'
'\n'
- ' New in version 3.6.\n'
+ ' Added in version 3.6.\n'
'\n'
'\n'
'Metaclasses\n'
@@ -11474,7 +11532,7 @@ topics = {'assert': 'The "assert" statement\n'
'for\n'
' correctness.\n'
'\n'
- ' New in version 3.4.\n'
+ ' Added in version 3.4.\n'
'\n'
'Note:\n'
'\n'
@@ -11923,7 +11981,7 @@ topics = {'assert': 'The "assert" statement\n'
'will\n'
'raise a "TypeError".\n'
'\n'
- 'New in version 3.10.\n'
+ 'Added in version 3.10.\n'
'\n'
'See also:\n'
'\n'
@@ -11972,7 +12030,7 @@ topics = {'assert': 'The "assert" statement\n'
'to\n'
' implement this method.\n'
'\n'
- 'New in version 3.12.\n'
+ 'Added in version 3.12.\n'
'\n'
'See also:\n'
'\n'
@@ -12136,7 +12194,7 @@ topics = {'assert': 'The "assert" statement\n'
'‘Default\n'
' Case Folding’ of the Unicode Standard.\n'
'\n'
- ' New in version 3.3.\n'
+ ' Added in version 3.3.\n'
'\n'
'str.center(width[, fillchar])\n'
'\n'
@@ -12320,7 +12378,7 @@ topics = {'assert': 'The "assert" statement\n'
"{country}'.format_map(Default(name='Guido'))\n"
" 'Guido was born in country'\n"
'\n'
- ' New in version 3.2.\n'
+ ' Added in version 3.2.\n'
'\n'
'str.index(sub[, start[, end]])\n'
'\n'
@@ -12364,7 +12422,7 @@ topics = {'assert': 'The "assert" statement\n'
'have code\n'
' points in the range U+0000-U+007F.\n'
'\n'
- ' New in version 3.7.\n'
+ ' Added in version 3.7.\n'
'\n'
'str.isdecimal()\n'
'\n'
@@ -12604,7 +12662,7 @@ topics = {'assert': 'The "assert" statement\n'
" >>> 'BaseTestCase'.removeprefix('Test')\n"
" 'BaseTestCase'\n"
'\n'
- ' New in version 3.9.\n'
+ ' Added in version 3.9.\n'
'\n'
'str.removesuffix(suffix, /)\n'
'\n'
@@ -12619,7 +12677,7 @@ topics = {'assert': 'The "assert" statement\n'
" >>> 'TmpDirMixin'.removesuffix('Tests')\n"
" 'TmpDirMixin'\n"
'\n'
- ' New in version 3.9.\n'
+ ' Added in version 3.9.\n'
'\n'
'str.replace(old, new, count=-1)\n'
'\n'
@@ -13098,8 +13156,8 @@ topics = {'assert': 'The "assert" statement\n'
'than\n'
'Python 3.x’s the "\'ur\'" syntax is not supported.\n'
'\n'
- 'New in version 3.3: The "\'rb\'" prefix of raw bytes literals has '
- 'been\n'
+ 'Added in version 3.3: The "\'rb\'" prefix of raw bytes literals '
+ 'has been\n'
'added as a synonym of "\'br\'".Support for the unicode legacy '
'literal\n'
'("u\'value\'") was reintroduced to simplify the maintenance of '
@@ -14071,7 +14129,7 @@ topics = {'assert': 'The "assert" statement\n'
'| function.__qualname__ | The '
'function’s *qualified name*. See also: |\n'
'| | '
- '"__qualname__ attributes". New in version 3.3. |\n'
+ '"__qualname__ attributes". Added in version 3.3. |\n'
'+----------------------------------------------------+----------------------------------------------------+\n'
'| function.__module__ | The name of '
'the module the function was defined |\n'
@@ -14114,7 +14172,7 @@ topics = {'assert': 'The "assert" statement\n'
'| function.__type_params__ | A "tuple" '
'containing the type parameters of a |\n'
'| | generic '
- 'function. New in version 3.12. |\n'
+ 'function. Added in version 3.12. |\n'
'+----------------------------------------------------+----------------------------------------------------+\n'
'\n'
'Function objects also support getting and setting arbitrary\n'
@@ -14421,8 +14479,7 @@ topics = {'assert': 'The "assert" statement\n'
'to\n'
'a common ancestor. Additional details on the C3 MRO used by Python '
'can\n'
- 'be found in the documentation accompanying the 2.3 release at\n'
- 'https://docs.python.org/3/howto/mro.html.\n'
+ 'be found at The Python 2.3 Method Resolution Order.\n'
'\n'
'When a class attribute reference (for class "C", say) would yield '
'a\n'
@@ -14470,6 +14527,15 @@ topics = {'assert': 'The "assert" statement\n'
' "__type_params__"\n'
' A tuple containing the type parameters of a generic class.\n'
'\n'
+ ' "__static_attributes__"\n'
+ ' A tuple containing names of attributes of this class which '
+ 'are\n'
+ ' accessed through "self.X" from any function in its body.\n'
+ '\n'
+ ' "__firstlineno__"\n'
+ ' The line number of the first line of the class definition,\n'
+ ' including decorators.\n'
+ '\n'
'\n'
'Class instances\n'
'===============\n'
@@ -14566,9 +14632,9 @@ topics = {'assert': 'The "assert" statement\n'
'name |\n'
'+----------------------------------------------------+----------------------------------------------------+\n'
'| codeobject.co_qualname | The fully '
- 'qualified function name New in version |\n'
- '| | '
- '3.11. |\n'
+ 'qualified function name Added in |\n'
+ '| | version '
+ '3.11. |\n'
'+----------------------------------------------------+----------------------------------------------------+\n'
'| codeobject.co_argcount | The total '
'number of positional *parameters* |\n'
@@ -14722,7 +14788,7 @@ topics = {'assert': 'The "assert" statement\n'
' When this occurs, some or all of the tuple elements can be '
'"None".\n'
'\n'
- ' New in version 3.11.\n'
+ ' Added in version 3.11.\n'
'\n'
' Note:\n'
'\n'
@@ -14780,7 +14846,7 @@ topics = {'assert': 'The "assert" statement\n'
'but\n'
' have been eliminated by the *bytecode* compiler.\n'
'\n'
- ' New in version 3.10.\n'
+ ' Added in version 3.10.\n'
'\n'
' See also:\n'
'\n'
@@ -14797,7 +14863,7 @@ topics = {'assert': 'The "assert" statement\n'
' Code objects are also supported by the generic function\n'
' "copy.replace()".\n'
'\n'
- ' New in version 3.8.\n'
+ ' Added in version 3.8.\n'
'\n'
'\n'
'Frame objects\n'
@@ -14830,8 +14896,14 @@ topics = {'assert': 'The "assert" statement\n'
'+----------------------------------------------------+----------------------------------------------------+\n'
'| frame.f_locals | The '
'dictionary used by the frame to look up local |\n'
+ '| | variables. '
+ 'If the frame refers to a function or |\n'
'| | '
- 'variables |\n'
+ 'comprehension, this may return a write- through |\n'
+ '| | proxy '
+ 'object. Changed in version 3.13: Return a |\n'
+ '| | proxy for '
+ 'functions and comprehensions. |\n'
'+----------------------------------------------------+----------------------------------------------------+\n'
'| frame.f_globals | The '
'dictionary used by the frame to look up global |\n'
@@ -14913,7 +14985,7 @@ topics = {'assert': 'The "assert" statement\n'
' "RuntimeError" is raised if the frame is currently executing or\n'
' suspended.\n'
'\n'
- ' New in version 3.4.\n'
+ ' Added in version 3.4.\n'
'\n'
' Changed in version 3.13: Attempting to clear a suspended frame\n'
' raises "RuntimeError" (as has always been the case for '
@@ -15306,7 +15378,7 @@ topics = {'assert': 'The "assert" statement\n'
'dictionary. This\n'
' is a shortcut for "reversed(d.keys())".\n'
'\n'
- ' New in version 3.8.\n'
+ ' Added in version 3.8.\n'
'\n'
' setdefault(key[, default])\n'
'\n'
@@ -15357,7 +15429,7 @@ topics = {'assert': 'The "assert" statement\n'
' *other* take priority when *d* and *other* share '
'keys.\n'
'\n'
- ' New in version 3.9.\n'
+ ' Added in version 3.9.\n'
'\n'
' d |= other\n'
'\n'
@@ -15369,7 +15441,7 @@ topics = {'assert': 'The "assert" statement\n'
'and *other*\n'
' share keys.\n'
'\n'
- ' New in version 3.9.\n'
+ ' Added in version 3.9.\n'
'\n'
' Dictionaries compare equal if and only if they have the '
'same "(key,\n'
@@ -15491,7 +15563,7 @@ topics = {'assert': 'The "assert" statement\n'
'original\n'
' dictionary to which the view refers.\n'
'\n'
- ' New in version 3.10.\n'
+ ' Added in version 3.10.\n'
'\n'
'Keys views are set-like since their entries are unique and '
'*hashable*.\n'
@@ -16031,7 +16103,7 @@ topics = {'assert': 'The "assert" statement\n'
'mutable\n'
' sequence classes provide it.\n'
'\n'
- ' New in version 3.3: "clear()" and "copy()" methods.\n'
+ ' Added in version 3.3: "clear()" and "copy()" methods.\n'
'\n'
'6. The value *n* is an integer, or an object implementing\n'
' "__index__()". Zero and negative values of *n* clear the '
@@ -16499,7 +16571,8 @@ topics = {'assert': 'The "assert" statement\n'
'concrete mutable\n'
' sequence classes provide it.\n'
'\n'
- ' New in version 3.3: "clear()" and "copy()" methods.\n'
+ ' Added in version 3.3: "clear()" and "copy()" '
+ 'methods.\n'
'\n'
'6. The value *n* is an integer, or an object '
'implementing\n'