mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Python 3.10.7
This commit is contained in:
parent
e13f49a0bc
commit
6cc6b13308
23 changed files with 237 additions and 90 deletions
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Autogenerated by Sphinx on Mon Aug 1 21:23:42 2022
|
||||
# Autogenerated by Sphinx on Mon Sep 5 13:02:42 2022
|
||||
topics = {'assert': 'The "assert" statement\n'
|
||||
'**********************\n'
|
||||
'\n'
|
||||
|
@ -3429,8 +3429,8 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
' there is matched against the whole object rather than an '
|
||||
'attribute.\n'
|
||||
' For example "int(0|1)" matches the value "0", but not the '
|
||||
'values\n'
|
||||
' "0.0" or "False".\n'
|
||||
'value\n'
|
||||
' "0.0".\n'
|
||||
'\n'
|
||||
'In simple terms "CLS(P1, attr=P2)" matches only if the '
|
||||
'following\n'
|
||||
|
@ -8907,31 +8907,7 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
' still alive. The list is in definition order. Example:\n'
|
||||
'\n'
|
||||
' >>> int.__subclasses__()\n'
|
||||
" [<class 'bool'>]\n"
|
||||
'\n'
|
||||
'-[ Footnotes ]-\n'
|
||||
'\n'
|
||||
'[1] Additional information on these special methods may be '
|
||||
'found in\n'
|
||||
' the Python Reference Manual (Basic customization).\n'
|
||||
'\n'
|
||||
'[2] As a consequence, the list "[1, 2]" is considered equal '
|
||||
'to "[1.0,\n'
|
||||
' 2.0]", and similarly for tuples.\n'
|
||||
'\n'
|
||||
'[3] They must have since the parser can’t tell the type of '
|
||||
'the\n'
|
||||
' operands.\n'
|
||||
'\n'
|
||||
'[4] Cased characters are those with general category '
|
||||
'property being\n'
|
||||
' one of “Lu” (Letter, uppercase), “Ll” (Letter, '
|
||||
'lowercase), or “Lt”\n'
|
||||
' (Letter, titlecase).\n'
|
||||
'\n'
|
||||
'[5] To format only a tuple you should therefore provide a '
|
||||
'singleton\n'
|
||||
' tuple whose only element is the tuple to be formatted.\n',
|
||||
" [<class 'bool'>]\n",
|
||||
'specialnames': 'Special method names\n'
|
||||
'********************\n'
|
||||
'\n'
|
||||
|
@ -12180,8 +12156,8 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'| Escape Sequence | Meaning | Notes '
|
||||
'|\n'
|
||||
'|===================|===================================|=========|\n'
|
||||
'| "\\newline" | Backslash and newline ignored '
|
||||
'| |\n'
|
||||
'| "\\"<newline> | Backslash and newline ignored | '
|
||||
'(1) |\n'
|
||||
'+-------------------+-----------------------------------+---------+\n'
|
||||
'| "\\\\" | Backslash ("\\") '
|
||||
'| |\n'
|
||||
|
@ -12214,10 +12190,10 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'| |\n'
|
||||
'+-------------------+-----------------------------------+---------+\n'
|
||||
'| "\\ooo" | Character with octal value *ooo* | '
|
||||
'(1,3) |\n'
|
||||
'(2,4) |\n'
|
||||
'+-------------------+-----------------------------------+---------+\n'
|
||||
'| "\\xhh" | Character with hex value *hh* | '
|
||||
'(2,3) |\n'
|
||||
'(3,4) |\n'
|
||||
'+-------------------+-----------------------------------+---------+\n'
|
||||
'\n'
|
||||
'Escape sequences only recognized in string literals are:\n'
|
||||
|
@ -12227,39 +12203,51 @@ topics = {'assert': 'The "assert" statement\n'
|
|||
'|\n'
|
||||
'|===================|===================================|=========|\n'
|
||||
'| "\\N{name}" | Character named *name* in the | '
|
||||
'(4) |\n'
|
||||
'(5) |\n'
|
||||
'| | Unicode database | '
|
||||
'|\n'
|
||||
'+-------------------+-----------------------------------+---------+\n'
|
||||
'| "\\uxxxx" | Character with 16-bit hex value | '
|
||||
'(5) |\n'
|
||||
'(6) |\n'
|
||||
'| | *xxxx* | '
|
||||
'|\n'
|
||||
'+-------------------+-----------------------------------+---------+\n'
|
||||
'| "\\Uxxxxxxxx" | Character with 32-bit hex value | '
|
||||
'(6) |\n'
|
||||
'(7) |\n'
|
||||
'| | *xxxxxxxx* | '
|
||||
'|\n'
|
||||
'+-------------------+-----------------------------------+---------+\n'
|
||||
'\n'
|
||||
'Notes:\n'
|
||||
'\n'
|
||||
'1. As in Standard C, up to three octal digits are accepted.\n'
|
||||
'1. A backslash can be added at the end of a line to ignore the\n'
|
||||
' newline:\n'
|
||||
'\n'
|
||||
'2. Unlike in Standard C, exactly two hex digits are required.\n'
|
||||
" >>> 'This string will not include \\\n"
|
||||
" ... backslashes or newline characters.'\n"
|
||||
" 'This string will not include backslashes or newline "
|
||||
"characters.'\n"
|
||||
'\n'
|
||||
'3. In a bytes literal, hexadecimal and octal escapes denote the '
|
||||
' The same result can be achieved using triple-quoted strings, '
|
||||
'or\n'
|
||||
' parentheses and string literal concatenation.\n'
|
||||
'\n'
|
||||
'2. As in Standard C, up to three octal digits are accepted.\n'
|
||||
'\n'
|
||||
'3. Unlike in Standard C, exactly two hex digits are required.\n'
|
||||
'\n'
|
||||
'4. In a bytes literal, hexadecimal and octal escapes denote the '
|
||||
'byte\n'
|
||||
' with the given value. In a string literal, these escapes '
|
||||
'denote a\n'
|
||||
' Unicode character with the given value.\n'
|
||||
'\n'
|
||||
'4. Changed in version 3.3: Support for name aliases [1] has been\n'
|
||||
'5. Changed in version 3.3: Support for name aliases [1] has been\n'
|
||||
' added.\n'
|
||||
'\n'
|
||||
'5. Exactly four hex digits are required.\n'
|
||||
'6. Exactly four hex digits are required.\n'
|
||||
'\n'
|
||||
'6. Any Unicode character can be encoded this way. Exactly eight '
|
||||
'7. Any Unicode character can be encoded this way. Exactly eight '
|
||||
'hex\n'
|
||||
' digits are required.\n'
|
||||
'\n'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue