Python 3.12.6

This commit is contained in:
Thomas Wouters 2024-09-06 21:00:07 +02:00
parent 7e51091481
commit a4a2d2b0d8
37 changed files with 367 additions and 95 deletions

View file

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Tue Aug 6 21:02:50 2024
# Autogenerated by Sphinx on Fri Sep 6 21:00:45 2024
# as part of the release process.
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
@ -3101,7 +3101,7 @@ topics = {'assert': 'The "assert" statement\n'
' | "None"\n'
' | "True"\n'
' | "False"\n'
' | signed_number: NUMBER | "-" NUMBER\n'
' signed_number ::= ["-"] NUMBER\n'
'\n'
'The rule "strings" and the token "NUMBER" are defined in the '
'standard\n'
@ -8991,16 +8991,22 @@ topics = {'assert': 'The "assert" statement\n'
'types, operations that compute new values may actually return a\n'
'reference to any existing object with the same type and value, '
'while\n'
'for mutable objects this is not allowed. E.g., after "a = 1; b = '
'1",\n'
'"a" and "b" may or may not refer to the same object with the '
'value\n'
'one, depending on the implementation, but after "c = []; d = []", '
'"c"\n'
'and "d" are guaranteed to refer to two different, unique, newly\n'
'created empty lists. (Note that "c = d = []" assigns the same '
'object\n'
'to both "c" and "d".)\n',
'for mutable objects this is not allowed. For example, after "a = '
'1; b\n'
'= 1", *a* and *b* may or may not refer to the same object with '
'the\n'
'value one, depending on the implementation. This is because "int" '
'is\n'
'an immutable type, so the reference to "1" can be reused. This\n'
'behaviour depends on the implementation used, so should not be '
'relied\n'
'upon, but is something to be aware of when making use of object\n'
'identity tests. However, after "c = []; d = []", *c* and *d* are\n'
'guaranteed to refer to two different, unique, newly created '
'empty\n'
'lists. (Note that "e = f = []" assigns the *same* object to both '
'*e*\n'
'and *f*.)\n',
'operator-summary': 'Operator precedence\n'
'*******************\n'
'\n'
@ -13075,15 +13081,13 @@ topics = {'assert': 'The "assert" statement\n'
'greater must be expressed with escapes.\n'
'\n'
'Both string and bytes literals may optionally be prefixed with a\n'
'letter "\'r\'" or "\'R\'"; such strings are called *raw strings* '
'and treat\n'
'backslashes as literal characters. As a result, in string '
'literals,\n'
'"\'\\U\'" and "\'\\u\'" escapes in raw strings are not treated '
'specially.\n'
'Given that Python 2.xs raw unicode literals behave differently '
'than\n'
'Python 3.xs the "\'ur\'" syntax is not supported.\n'
'letter "\'r\'" or "\'R\'"; such constructs are called *raw '
'string\n'
'literals* and *raw bytes literals* respectively and treat '
'backslashes\n'
'as literal characters. As a result, in raw string literals, '
'"\'\\U\'"\n'
'and "\'\\u\'" escapes are not treated specially.\n'
'\n'
'Added in version 3.3: The "\'rb\'" prefix of raw bytes literals '
'has been\n'
@ -13977,8 +13981,7 @@ topics = {'assert': 'The "assert" statement\n'
'however removing a key and re-inserting it will add it to the end\n'
'instead of keeping its old place.\n'
'\n'
'Dictionaries are mutable; they can be created by the "{...}" '
'notation\n'
'Dictionaries are mutable; they can be created by the "{}" notation\n'
'(see section Dictionary displays).\n'
'\n'
'The extension modules "dbm.ndbm" and "dbm.gnu" provide additional\n'
@ -15963,8 +15966,8 @@ topics = {'assert': 'The "assert" statement\n'
'| | also removes it from '
'*s* | |\n'
'+--------------------------------+----------------------------------+-----------------------+\n'
'| "s.remove(x)" | remove the first item from '
'*s* | (3) |\n'
'| "s.remove(x)" | removes the first item from '
'*s* | (3) |\n'
'| | where "s[i]" is equal to '
'*x* | |\n'
'+--------------------------------+----------------------------------+-----------------------+\n'
@ -16428,8 +16431,8 @@ topics = {'assert': 'The "assert" statement\n'
'| | also removes it from '
'*s* | |\n'
'+--------------------------------+----------------------------------+-----------------------+\n'
'| "s.remove(x)" | remove the first item '
'from *s* | (3) |\n'
'| "s.remove(x)" | removes the first '
'item from *s* | (3) |\n'
'| | where "s[i]" is equal '
'to *x* | |\n'
'+--------------------------------+----------------------------------+-----------------------+\n'