summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc_data/topics.py
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2022-11-14 11:12:42 (GMT)
committerThomas Wouters <thomas@python.org>2022-11-14 11:18:11 (GMT)
commit3b9d793efcfd2c00c14ffbeab1a3389bf3b095ff (patch)
treee087ca2d68d9625d036606f2acb7a3f2d19b0d92 /Lib/pydoc_data/topics.py
parentdb115682bd639a2642c617f0b7d5b30cd7d7f472 (diff)
downloadcpython-3.12.0a2.zip
cpython-3.12.0a2.tar.gz
cpython-3.12.0a2.tar.bz2
Python 3.12.0a2v3.12.0a2
Diffstat (limited to 'Lib/pydoc_data/topics.py')
-rw-r--r--Lib/pydoc_data/topics.py57
1 files changed, 31 insertions, 26 deletions
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py
index 52a3ee1..a817dc3 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 Oct 25 00:07:40 2022
+# Autogenerated by Sphinx on Mon Nov 14 12:13:19 2022
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
@@ -358,7 +358,7 @@ topics = {'assert': 'The "assert" statement\n'
'yield_expression)]\n'
'\n'
'The difference from normal Assignment statements is that only '
- 'single\n'
+ 'a single\n'
'target is allowed.\n'
'\n'
'For simple names as assignment targets, if in class or module '
@@ -408,12 +408,13 @@ topics = {'assert': 'The "assert" statement\n'
'analysis\n'
' tools and IDEs.\n'
'\n'
- 'Changed in version 3.8: Now annotated assignments allow same\n'
- 'expressions in the right hand side as the regular '
- 'assignments.\n'
- 'Previously, some expressions (like un-parenthesized tuple '
- 'expressions)\n'
- 'caused a syntax error.\n',
+ 'Changed in version 3.8: Now annotated assignments allow the '
+ 'same\n'
+ 'expressions in the right hand side as regular assignments. '
+ 'Previously,\n'
+ 'some expressions (like un-parenthesized tuple expressions) '
+ 'caused a\n'
+ 'syntax error.\n',
'async': 'Coroutines\n'
'**********\n'
'\n'
@@ -7320,7 +7321,7 @@ topics = {'assert': 'The "assert" statement\n'
'the clauses had been separated out into individual import '
'statements.\n'
'\n'
- 'The details of the first step, finding and loading modules are\n'
+ 'The details of the first step, finding and loading modules, are\n'
'described in greater detail in the section on the import system, '
'which\n'
'also describes the various types of packages and modules that can '
@@ -11314,6 +11315,10 @@ topics = {'assert': 'The "assert" statement\n'
'*start* and\n'
' *end* are interpreted as in slice notation.\n'
'\n'
+ ' If *sub* is empty, returns the number of empty strings '
+ 'between\n'
+ ' characters which is the length of the string plus one.\n'
+ '\n'
"str.encode(encoding='utf-8', errors='strict')\n"
'\n'
' Return an encoded version of the string as a bytes '
@@ -12360,10 +12365,12 @@ topics = {'assert': 'The "assert" statement\n'
'2. As in Standard C, up to three octal digits are accepted.\n'
'\n'
' Changed in version 3.11: Octal escapes with value larger than\n'
- ' "0o377" produce a "DeprecationWarning". In a future Python '
- 'version\n'
- ' they will be a "SyntaxWarning" and eventually a '
- '"SyntaxError".\n'
+ ' "0o377" produce a "DeprecationWarning".\n'
+ '\n'
+ ' Changed in version 3.12: Octal escapes with value larger than\n'
+ ' "0o377" produce a "SyntaxWarning". In a future Python version '
+ 'they\n'
+ ' will be eventually a "SyntaxError".\n'
'\n'
'3. Unlike in Standard C, exactly two hex digits are required.\n'
'\n'
@@ -12398,9 +12405,13 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
' Changed in version 3.6: Unrecognized escape sequences produce '
'a\n'
- ' "DeprecationWarning". In a future Python version they will be '
+ ' "DeprecationWarning".\n'
+ '\n'
+ ' Changed in version 3.12: Unrecognized escape sequences produce '
'a\n'
- ' "SyntaxWarning" and eventually a "SyntaxError".\n'
+ ' "SyntaxWarning". In a future Python version they will be '
+ 'eventually\n'
+ ' a "SyntaxError".\n'
'\n'
'Even in a raw literal, quotes can be escaped with a backslash, '
'but the\n'
@@ -13974,17 +13985,11 @@ topics = {'assert': 'The "assert" statement\n'
'dictionaries or\n'
'other mutable types (that are compared by value rather than '
'by object\n'
- 'identity) may not be used as keys. Numeric types used for '
- 'keys obey\n'
- 'the normal rules for numeric comparison: if two numbers '
- 'compare equal\n'
- '(such as "1" and "1.0") then they can be used '
- 'interchangeably to index\n'
- 'the same dictionary entry. (Note however, that since '
- 'computers store\n'
- 'floating-point numbers as approximations it is usually '
- 'unwise to use\n'
- 'them as dictionary keys.)\n'
+ 'identity) may not be used as keys. Values that compare equal '
+ '(such as\n'
+ '"1", "1.0", and "True") can be used interchangeably to index '
+ 'the same\n'
+ 'dictionary entry.\n'
'\n'
'class dict(**kwargs)\n'
'class dict(mapping, **kwargs)\n'