Python 3.12.0b4

This commit is contained in:
Thomas Wouters 2023-07-11 14:22:17 +02:00
parent 6968f9e4d3
commit 97a6a41816
35 changed files with 337 additions and 82 deletions

View file

@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Mon Jun 19 20:55:48 2023
# Autogenerated by Sphinx on Tue Jul 11 14:22:58 2023
# as part of the release process.
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
@ -208,7 +209,7 @@ topics = {'assert': 'The "assert" statement\n'
'the\n'
' subscript must have a type compatible with the mappings key '
'type,\n'
' and the mapping is then asked to create a key/datum pair '
' and the mapping is then asked to create a key/value pair '
'which maps\n'
' the subscript to the assigned object. This can either '
'replace an\n'
@ -5687,30 +5688,31 @@ topics = {'assert': 'The "assert" statement\n'
'dict': 'Dictionary displays\n'
'*******************\n'
'\n'
'A dictionary display is a possibly empty series of key/datum pairs\n'
'enclosed in curly braces:\n'
'A dictionary display is a possibly empty series of dict items\n'
'(key/value pairs) enclosed in curly braces:\n'
'\n'
' dict_display ::= "{" [key_datum_list | dict_comprehension] '
' dict_display ::= "{" [dict_item_list | dict_comprehension] '
'"}"\n'
' key_datum_list ::= key_datum ("," key_datum)* [","]\n'
' key_datum ::= expression ":" expression | "**" or_expr\n'
' dict_item_list ::= dict_item ("," dict_item)* [","]\n'
' dict_item ::= expression ":" expression | "**" or_expr\n'
' dict_comprehension ::= expression ":" expression comp_for\n'
'\n'
'A dictionary display yields a new dictionary object.\n'
'\n'
'If a comma-separated sequence of key/datum pairs is given, they are\n'
'If a comma-separated sequence of dict items is given, they are\n'
'evaluated from left to right to define the entries of the '
'dictionary:\n'
'each key object is used as a key into the dictionary to store the\n'
'corresponding datum. This means that you can specify the same key\n'
'multiple times in the key/datum list, and the final dictionarys '
'corresponding value. This means that you can specify the same key\n'
'multiple times in the dict item list, and the final dictionarys '
'value\n'
'for that key will be the last one given.\n'
'\n'
'A double asterisk "**" denotes *dictionary unpacking*. Its operand\n'
'must be a *mapping*. Each mapping item is added to the new\n'
'dictionary. Later values replace values already set by earlier\n'
'key/datum pairs and earlier dictionary unpackings.\n'
'dictionary. Later values replace values already set by earlier '
'dict\n'
'items and earlier dictionary unpackings.\n'
'\n'
'New in version 3.5: Unpacking into dictionary displays, originally\n'
'proposed by **PEP 448**.\n'
@ -5726,7 +5728,7 @@ topics = {'assert': 'The "assert" statement\n'
'Restrictions on the types of the key values are listed earlier in\n'
'section The standard type hierarchy. (To summarize, the key type\n'
'should be *hashable*, which excludes all mutable objects.) Clashes\n'
'between duplicate keys are not detected; the last datum (textually\n'
'between duplicate keys are not detected; the last value (textually\n'
'rightmost in the display) stored for a given key value prevails.\n'
'\n'
'Changed in version 3.8: Prior to Python 3.8, in dict '
@ -13256,7 +13258,7 @@ topics = {'assert': 'The "assert" statement\n'
'are\n'
'most of the built-in objects considered false:\n'
'\n'
'* constants defined to be false: "None" and "False".\n'
'* constants defined to be false: "None" and "False"\n'
'\n'
'* zero of any numeric type: "0", "0.0", "0j", "Decimal(0)",\n'
' "Fraction(0, 1)"\n'