Skip to content

Commit

Permalink
Python 3.12.0b4
Browse files Browse the repository at this point in the history
  • Loading branch information
Yhg1s committed Jul 11, 2023
1 parent 6968f9e commit 97a6a41
Show file tree
Hide file tree
Showing 35 changed files with 337 additions and 82 deletions.
4 changes: 2 additions & 2 deletions Include/patchlevel.h
Expand Up @@ -20,10 +20,10 @@
#define PY_MINOR_VERSION 12
#define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA
#define PY_RELEASE_SERIAL 3
#define PY_RELEASE_SERIAL 4

/* Version as a string */
#define PY_VERSION "3.12.0b3+"
#define PY_VERSION "3.12.0b4"
/*--end constants--*/

/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
Expand Down
30 changes: 16 additions & 14 deletions Lib/pydoc_data/topics.py
@@ -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'
Expand Down Expand Up @@ -208,7 +209,7 @@
'the\n'
' subscript must have a type compatible with the mapping’s 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'
Expand Down Expand Up @@ -5687,30 +5688,31 @@
'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 dictionary’s '
'corresponding value. This means that you can specify the same key\n'
'multiple times in the dict item list, and the final dictionary’s '
'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'
Expand All @@ -5726,7 +5728,7 @@
'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 '
Expand Down Expand Up @@ -13256,7 +13258,7 @@
'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'
Expand Down

0 comments on commit 97a6a41

Please sign in to comment.