mirror of
https://github.com/python/cpython.git
synced 2025-08-07 10:28:42 +00:00
Python 3.12.0rc1
This commit is contained in:
parent
236cdadb08
commit
63bcd91dac
52 changed files with 515 additions and 124 deletions
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Autogenerated by Sphinx on Tue Jul 11 14:22:58 2023
|
||||
# Autogenerated by Sphinx on Sat Aug 5 14:10:40 2023
|
||||
# as part of the release process.
|
||||
topics = {'assert': 'The "assert" statement\n'
|
||||
'**********************\n'
|
||||
|
@ -9689,7 +9689,8 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
' still alive. The list is in definition order. Example:\n'
|
||||
'\n'
|
||||
' >>> int.__subclasses__()\n'
|
||||
" [<class 'bool'>]\n",
|
||||
" [<class 'bool'>, <enum 'IntEnum'>, <flag 'IntFlag'>, "
|
||||
"<class 're._constants._NamedIntConstant'>]\n",
|
||||
'specialnames': 'Special method names\n'
|
||||
'********************\n'
|
||||
'\n'
|
||||
|
@ -12558,7 +12559,7 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'followed by\n'
|
||||
' the string itself.\n'
|
||||
'\n'
|
||||
'str.rsplit(sep=None, maxsplit=- 1)\n'
|
||||
'str.rsplit(sep=None, maxsplit=-1)\n'
|
||||
'\n'
|
||||
' Return a list of the words in the string, using *sep* '
|
||||
'as the\n'
|
||||
|
@ -12599,7 +12600,7 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
" >>> 'Monty Python'.removesuffix(' Python')\n"
|
||||
" 'Monty'\n"
|
||||
'\n'
|
||||
'str.split(sep=None, maxsplit=- 1)\n'
|
||||
'str.split(sep=None, maxsplit=-1)\n'
|
||||
'\n'
|
||||
' Return a list of the words in the string, using *sep* '
|
||||
'as the\n'
|
||||
|
@ -13009,6 +13010,10 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'the\n'
|
||||
'literal, i.e. either "\'" or """.)\n'
|
||||
'\n'
|
||||
'\n'
|
||||
'Escape sequences\n'
|
||||
'================\n'
|
||||
'\n'
|
||||
'Unless an "\'r\'" or "\'R\'" prefix is present, escape sequences '
|
||||
'in string\n'
|
||||
'and bytes literals are interpreted according to rules similar to '
|
||||
|
@ -15184,10 +15189,12 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
' >>> # set operations\n'
|
||||
" >>> keys & {'eggs', 'bacon', 'salad'}\n"
|
||||
" {'bacon'}\n"
|
||||
" >>> keys ^ {'sausage', 'juice'}\n"
|
||||
" {'juice', 'sausage', 'bacon', 'spam'}\n"
|
||||
" >>> keys | ['juice', 'juice', 'juice']\n"
|
||||
" {'juice', 'sausage', 'bacon', 'spam', 'eggs'}\n"
|
||||
" >>> keys ^ {'sausage', 'juice'} == {'juice', 'sausage', "
|
||||
"'bacon', 'spam'}\n"
|
||||
' True\n'
|
||||
" >>> keys | ['juice', 'juice', 'juice'] == {'bacon', "
|
||||
"'spam', 'juice'}\n"
|
||||
' True\n'
|
||||
'\n'
|
||||
' >>> # get back a read-only proxy for the original '
|
||||
'dictionary\n'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue