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.py73
1 files changed, 39 insertions, 34 deletions
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py
index 4643df8..f5ba27d 100644
--- a/Lib/pydoc_data/topics.py
+++ b/Lib/pydoc_data/topics.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Autogenerated by Sphinx on Wed May 8 11:11:17 2024
+# Autogenerated by Sphinx on Wed Jun 5 16:43:53 2024
# as part of the release process.
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
@@ -5034,6 +5034,12 @@ topics = {'assert': 'The "assert" statement\n'
' 0\n'
' (Pdb)\n'
'\n'
+ 'Changed in version 3.13: The implementation of **PEP 667** means '
+ 'that\n'
+ 'name assignments made via "pdb" will immediately affect the '
+ 'active\n'
+ 'scope, even when running inside an *optimized scope*.\n'
+ '\n'
'The module defines the following functions; each enters the '
'debugger\n'
'in a slightly different way:\n'
@@ -5245,7 +5251,8 @@ topics = {'assert': 'The "assert" statement\n'
'* "$_exception": the exception if the frame is raising an '
'exception\n'
'\n'
- 'Added in version 3.12.\n'
+ 'Added in version 3.12: Added the *convenience variable* '
+ 'feature.\n'
'\n'
'If a file ".pdbrc" exists in the user’s home directory or in '
'the\n'
@@ -5620,24 +5627,22 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'interact\n'
'\n'
- ' Start an interactive interpreter (using the "code" module) '
- 'whose\n'
- ' global namespace contains all the (global and local) names '
- 'found in\n'
- ' the current scope. Use "exit()" or "quit()" to exit the '
- 'interpreter\n'
- ' and return to the debugger.\n'
+ ' Start an interactive interpreter (using the "code" module) in '
+ 'a new\n'
+ ' global namespace initialised from the local and global '
+ 'namespaces\n'
+ ' for the current scope. Use "exit()" or "quit()" to exit the\n'
+ ' interpreter and return to the debugger.\n'
'\n'
' Note:\n'
'\n'
- ' Because interact creates a new global namespace with the '
- 'current\n'
- ' global and local namespace for execution, assignment to '
- 'variables\n'
- ' will not affect the original namespaces. However, '
- 'modification to\n'
- ' the mutable objects will be reflected in the original '
- 'namespaces.\n'
+ ' As "interact" creates a new dedicated namespace for code\n'
+ ' execution, assignments to variables will not affect the '
+ 'original\n'
+ ' namespaces. However, modifications to any referenced '
+ 'mutable\n'
+ ' objects will be reflected in the original namespaces as '
+ 'usual.\n'
'\n'
' Added in version 3.2.\n'
'\n'
@@ -12362,7 +12367,7 @@ topics = {'assert': 'The "assert" statement\n'
'the\n'
' "LC_NUMERIC" locale in some cases.\n'
'\n'
- 'str.format_map(mapping)\n'
+ 'str.format_map(mapping, /)\n'
'\n'
' Similar to "str.format(**mapping)", except that '
'"mapping" is used\n'
@@ -14766,10 +14771,10 @@ topics = {'assert': 'The "assert" statement\n'
' The iterator returns "tuple"s containing the "(start_line,\n'
' end_line, start_column, end_column)". The *i-th* tuple '
'corresponds\n'
- ' to the position of the source code that compiled to the *i-th*\n'
- ' instruction. Column information is 0-indexed utf-8 byte offsets '
- 'on\n'
- ' the given source line.\n'
+ ' to the position of the source code that compiled to the *i-th* '
+ 'code\n'
+ ' unit. Column information is 0-indexed utf-8 byte offsets on the\n'
+ ' given source line.\n'
'\n'
' This positional information can be missing. A non-exhaustive '
'lists\n'
@@ -14894,16 +14899,16 @@ topics = {'assert': 'The "assert" statement\n'
'| | '
'""f_code"". |\n'
'+----------------------------------------------------+----------------------------------------------------+\n'
- '| frame.f_locals | The '
- 'dictionary used by the frame to look up local |\n'
+ '| frame.f_locals | The mapping '
+ 'used by the frame to look up local |\n'
'| | variables. '
- 'If the frame refers to a function or |\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'
+ 'If the frame refers to an *optimized |\n'
+ '| | scope*, this '
+ 'may return a write-through proxy |\n'
+ '| | object. '
+ 'Changed in version 3.13: Return a proxy |\n'
+ '| | for '
+ 'optimized scopes. |\n'
'+----------------------------------------------------+----------------------------------------------------+\n'
'| frame.f_globals | The '
'dictionary used by the frame to look up global |\n'
@@ -15312,7 +15317,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Return a shallow copy of the dictionary.\n'
'\n'
- ' classmethod fromkeys(iterable[, value])\n'
+ ' classmethod fromkeys(iterable, value=None)\n'
'\n'
' Create a new dictionary with keys from *iterable* and '
'values set\n'
@@ -15328,7 +15333,7 @@ topics = {'assert': 'The "assert" statement\n'
'distinct\n'
' values, use a dict comprehension instead.\n'
'\n'
- ' get(key[, default])\n'
+ ' get(key, default=None)\n'
'\n'
' Return the value for *key* if *key* is in the '
'dictionary, else\n'
@@ -15380,7 +15385,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Added in version 3.8.\n'
'\n'
- ' setdefault(key[, default])\n'
+ ' setdefault(key, default=None)\n'
'\n'
' If *key* is in the dictionary, return its value. If '
'not, insert\n'