Skip to content

Commit

Permalink
Python 3.11.0b1
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogsal committed May 6, 2022
1 parent 3f61db4 commit 0e5fe7f
Show file tree
Hide file tree
Showing 212 changed files with 2,171 additions and 440 deletions.
49 changes: 26 additions & 23 deletions Lib/pydoc_data/topics.py
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -6222,13 +6222,14 @@
'+-----------+------------------------------------------------------------+\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'
Expand Down Expand Up @@ -7329,12 +7330,12 @@
'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'
Expand Down Expand Up @@ -12062,9 +12063,13 @@
' >>> "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'
Expand Down Expand Up @@ -12314,6 +12319,12 @@
'\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 '
Expand Down Expand Up @@ -13909,14 +13920,6 @@
'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'
Expand Down
Loading

0 comments on commit 0e5fe7f

Please sign in to comment.