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.py38
1 files changed, 21 insertions, 17 deletions
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py
index d70bf9e..9a6a1b3 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 Jun 6 16:12:51 2023
+# Autogenerated by Sphinx on Mon Jun 19 20:55:48 2023
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
@@ -6522,22 +6522,26 @@ topics = {'assert': 'The "assert" statement\n'
'positional\n'
'argument, and if it’s a keyword, it refers to a named '
'keyword\n'
- 'argument. If the numerical arg_names in a format string '
- 'are 0, 1, 2,\n'
- '… in sequence, they can all be omitted (not just some) and '
- 'the numbers\n'
- '0, 1, 2, … will be automatically inserted in that order. '
- 'Because\n'
- '*arg_name* is not quote-delimited, it is not possible to '
- 'specify\n'
- 'arbitrary dictionary keys (e.g., the strings "\'10\'" or '
- '"\':-]\'") within\n'
- 'a format string. The *arg_name* can be followed by any '
- 'number of index\n'
- 'or attribute expressions. An expression of the form '
- '"\'.name\'" selects\n'
- 'the named attribute using "getattr()", while an expression '
- 'of the form\n'
+ 'argument. An *arg_name* is treated as a number if a call '
+ 'to\n'
+ '"str.isdecimal()" on the string would return true. If the '
+ 'numerical\n'
+ 'arg_names in a format string are 0, 1, 2, … in sequence, '
+ 'they can all\n'
+ 'be omitted (not just some) and the numbers 0, 1, 2, … will '
+ 'be\n'
+ 'automatically inserted in that order. Because *arg_name* is '
+ 'not quote-\n'
+ 'delimited, it is not possible to specify arbitrary '
+ 'dictionary keys\n'
+ '(e.g., the strings "\'10\'" or "\':-]\'") within a format '
+ 'string. The\n'
+ '*arg_name* can be followed by any number of index or '
+ 'attribute\n'
+ 'expressions. An expression of the form "\'.name\'" selects '
+ 'the named\n'
+ 'attribute using "getattr()", while an expression of the '
+ 'form\n'
'"\'[index]\'" does an index lookup using "__getitem__()".\n'
'\n'
'Changed in version 3.1: The positional argument specifiers '