diff options
author | Pablo Galindo <pablogsal@gmail.com> | 2022-05-06 22:52:22 (GMT) |
---|---|---|
committer | Pablo Galindo <pablogsal@gmail.com> | 2022-05-06 22:53:50 (GMT) |
commit | 0e5fe7f9e9d3b995a7ccc4fae498e6eaf01027a0 (patch) | |
tree | 7fc8ef13f83bd51adec1f5e7a49c08d53d4ae4db /Lib/pydoc_data/topics.py | |
parent | 3f61db475692511a9676765e6f9f0bb204306e93 (diff) | |
download | cpython-0e5fe7f9e9d3b995a7ccc4fae498e6eaf01027a0.zip cpython-0e5fe7f9e9d3b995a7ccc4fae498e6eaf01027a0.tar.gz cpython-0e5fe7f9e9d3b995a7ccc4fae498e6eaf01027a0.tar.bz2 |
Python 3.11.0b1
Diffstat (limited to 'Lib/pydoc_data/topics.py')
-rw-r--r-- | Lib/pydoc_data/topics.py | 49 |
1 files changed, 26 insertions, 23 deletions
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py index f3c79ca..f3ceaad 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 5 20:53:43 2022 +# Autogenerated by Sphinx on Fri May 6 23:53:34 2022 topics = {'assert': 'The "assert" statement\n' '**********************\n' '\n' @@ -6222,13 +6222,14 @@ topics = {'assert': 'The "assert" statement\n' '+-----------+------------------------------------------------------------+\n' '\n' 'The "\'z\'" option coerces negative zero floating-point ' - 'values to positive\n' - 'zero after rounding to the format precision. This option ' - 'is only valid for\n' - 'floating-point presentation types.\n' + 'values to\n' + 'positive zero after rounding to the format precision. This ' + 'option is\n' + 'only valid for floating-point presentation types.\n' '\n' 'Changed in version 3.11: Added the "\'z\'" option (see also ' - '**PEP 682**).\n' + '**PEP\n' + '682**).\n' '\n' 'The "\'#\'" option causes the “alternate form” to be used ' 'for the\n' @@ -7329,12 +7330,12 @@ topics = {'assert': 'The "assert" statement\n' 'Examples:\n' '\n' ' import foo # foo imported and bound locally\n' - ' import foo.bar.baz # foo.bar.baz imported, foo bound ' - 'locally\n' - ' import foo.bar.baz as fbb # foo.bar.baz imported and bound as ' - 'fbb\n' - ' from foo.bar import baz # foo.bar.baz imported and bound as ' - 'baz\n' + ' import foo.bar.baz # foo, foo.bar, and foo.bar.baz ' + 'imported, foo bound locally\n' + ' import foo.bar.baz as fbb # foo, foo.bar, and foo.bar.baz ' + 'imported, foo.bar.baz bound as fbb\n' + ' from foo.bar import baz # foo, foo.bar, and foo.bar.baz ' + 'imported, foo.bar.baz bound as baz\n' ' from foo import attr # foo imported and foo.attr bound as ' 'attr\n' '\n' @@ -12062,9 +12063,13 @@ topics = {'assert': 'The "assert" statement\n' ' >>> "they\'re bill\'s friends from the UK".title()\n' ' "They\'Re Bill\'S Friends From The Uk"\n' '\n' - ' A workaround for apostrophes can be constructed using ' - 'regular\n' - ' expressions:\n' + ' The "string.capwords()" function does not have this ' + 'problem, as it\n' + ' splits words on spaces only.\n' + '\n' + ' Alternatively, a workaround for apostrophes can be ' + 'constructed\n' + ' using regular expressions:\n' '\n' ' >>> import re\n' ' >>> def titlecase(s):\n' @@ -12314,6 +12319,12 @@ topics = {'assert': 'The "assert" statement\n' '\n' '1. 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' + '\n' '2. Unlike in Standard C, exactly two hex digits are required.\n' '\n' '3. In a bytes literal, hexadecimal and octal escapes denote the ' @@ -13909,14 +13920,6 @@ topics = {'assert': 'The "assert" statement\n' 'unwise to use\n' 'them as dictionary keys.)\n' '\n' - 'Dictionaries can be created by placing a comma-separated ' - 'list of "key:\n' - 'value" pairs within braces, for example: "{\'jack\': 4098, ' - "'sjoerd':\n" - '4127}" or "{4098: \'jack\', 4127: \'sjoerd\'}", or by the ' - '"dict"\n' - 'constructor.\n' - '\n' 'class dict(**kwargs)\n' 'class dict(mapping, **kwargs)\n' 'class dict(iterable, **kwargs)\n' |