Skip to content

Commit

Permalink
Python 3.13.0b4
Browse files Browse the repository at this point in the history
  • Loading branch information
Yhg1s committed Jul 18, 2024
1 parent afa5321 commit 567c38b
Show file tree
Hide file tree
Showing 50 changed files with 575 additions and 156 deletions.
4 changes: 2 additions & 2 deletions Include/patchlevel.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
#define PY_MINOR_VERSION 13
#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.13.0b3+"
#define PY_VERSION "3.13.0b4"
/*--end constants--*/

/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
Expand Down
144 changes: 96 additions & 48 deletions Lib/pydoc_data/topics.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Thu Jun 27 15:02:53 2024
# Autogenerated by Sphinx on Thu Jul 18 11:36:18 2024
# as part of the release process.
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
Expand Down Expand Up @@ -308,10 +308,10 @@
'target.\n'
'The target is only evaluated once.\n'
'\n'
'An augmented assignment expression like "x += 1" can be '
'rewritten as\n'
'"x = x + 1" to achieve a similar, but not exactly equal '
'effect. In the\n'
'An augmented assignment statement like "x += 1" can be '
'rewritten as "x\n'
'= x + 1" to achieve a similar, but not exactly equal effect. '
'In the\n'
'augmented version, "x" is only evaluated once. Also, when '
'possible,\n'
'the actual operation is performed *in-place*, meaning that '
Expand Down Expand Up @@ -560,31 +560,67 @@
'evaluate it\n'
'raises a "NameError" exception.\n'
'\n'
'**Private name mangling:** When an identifier that '
'textually occurs in\n'
'a class definition begins with two or more underscore '
'characters and\n'
'does not end in two or more underscores, it is '
'considered a *private\n'
'name* of that class. Private names are transformed to a '
'longer form\n'
'before code is generated for them. The transformation '
'inserts the\n'
'class name, with leading underscores removed and a '
'single underscore\n'
'inserted, in front of the name. For example, the '
'identifier "__spam"\n'
'occurring in a class named "Ham" will be transformed to '
'"_Ham__spam".\n'
'This transformation is independent of the syntactical '
'\n'
'Private name mangling\n'
'=====================\n'
'\n'
'When an identifier that textually occurs in a class '
'definition begins\n'
'with two or more underscore characters and does not end '
'in two or more\n'
'underscores, it is considered a *private name* of that '
'class.\n'
'\n'
'See also: The class specifications.\n'
'\n'
'More precisely, private names are transformed to a '
'longer form before\n'
'code is generated for them. If the transformed name is '
'longer than\n'
'255 characters, implementation-defined truncation may '
'happen.\n'
'\n'
'The transformation is independent of the syntactical '
'context in which\n'
'the identifier is used. If the transformed name is '
'extremely long\n'
'(longer than 255 characters), implementation defined '
'truncation may\n'
'happen. If the class name consists only of underscores, '
'no\n'
'transformation is done.\n',
'the identifier is used but only the following private '
'identifiers are\n'
'mangled:\n'
'\n'
'* Any name used as the name of a variable that is '
'assigned or read or\n'
' any name of an attribute being accessed.\n'
'\n'
' The "__name__" attribute of nested functions, classes, '
'and type\n'
' aliases is however not mangled.\n'
'\n'
'* The name of imported modules, e.g., "__spam" in '
'"import __spam". If\n'
' the module is part of a package (i.e., its name '
'contains a dot), the\n'
' name is *not* mangled, e.g., the "__foo" in "import '
'__foo.bar" is\n'
' not mangled.\n'
'\n'
'* The name of an imported member, e.g., "__f" in "from '
'spam import\n'
' __f".\n'
'\n'
'The transformation rule is defined as follows:\n'
'\n'
'* The class name, with leading underscores removed and a '
'single\n'
' leading underscore inserted, is inserted in front of '
'the identifier,\n'
' e.g., the identifier "__spam" occurring in a class '
'named "Foo",\n'
' "_Foo" or "__Foo" is transformed to "_Foo__spam".\n'
'\n'
'* If the class name consists only of underscores, the '
'transformation\n'
' is the identity, e.g., the identifier "__spam" '
'occurring in a class\n'
' named "_" or "__" is left as is.\n',
'atom-literals': 'Literals\n'
'********\n'
'\n'
Expand Down Expand Up @@ -1168,10 +1204,10 @@
'target.\n'
'The target is only evaluated once.\n'
'\n'
'An augmented assignment expression like "x += 1" can be '
'rewritten as\n'
'"x = x + 1" to achieve a similar, but not exactly equal effect. '
'In the\n'
'An augmented assignment statement like "x += 1" can be '
'rewritten as "x\n'
'= x + 1" to achieve a similar, but not exactly equal effect. In '
'the\n'
'augmented version, "x" is only evaluated once. Also, when '
'possible,\n'
'the actual operation is performed *in-place*, meaning that '
Expand Down Expand Up @@ -1244,6 +1280,10 @@
'The "@" (at) operator is intended to be used for matrix\n'
'multiplication. No builtin Python types implement this operator.\n'
'\n'
'This operation can be customized using the special "__matmul__()" '
'and\n'
'"__rmatmul__()" methods.\n'
'\n'
'Added in version 3.5.\n'
'\n'
'The "/" (division) and "//" (floor division) operators yield the\n'
Expand All @@ -1256,9 +1296,11 @@
'result. Division by zero raises the "ZeroDivisionError" '
'exception.\n'
'\n'
'This operation can be customized using the special "__truediv__()" '
'The division operation can be customized using the special\n'
'"__truediv__()" and "__rtruediv__()" methods. The floor division\n'
'operation can be customized using the special "__floordiv__()" '
'and\n'
'"__floordiv__()" methods.\n'
'"__rfloordiv__()" methods.\n'
'\n'
'The "%" (modulo) operator yields the remainder from the division '
'of\n'
Expand Down Expand Up @@ -1293,7 +1335,7 @@
'\n'
'The *modulo* operation can be customized using the special '
'"__mod__()"\n'
'method.\n'
'and "__rmod__()" methods.\n'
'\n'
'The floor division operator, the modulo operator, and the '
'"divmod()"\n'
Expand All @@ -1318,7 +1360,8 @@
'The numeric arguments are first converted to a common type.\n'
'\n'
'This operation can be customized using the special "__sub__()" '
'method.\n',
'and\n'
'"__rsub__()" methods.\n',
'bitwise': 'Binary bitwise operations\n'
'*************************\n'
'\n'
Expand Down Expand Up @@ -9310,8 +9353,8 @@
'"complex"\n'
'number. (In earlier versions it raised a "ValueError".)\n'
'\n'
'This operation can be customized using the special "__pow__()" '
'method.\n',
'This operation can be customized using the special "__pow__()" and\n'
'"__rpow__()" methods.\n',
'raise': 'The "raise" statement\n'
'*********************\n'
'\n'
Expand Down Expand Up @@ -9725,9 +9768,12 @@
'the\n'
'second argument.\n'
'\n'
'This operation can be customized using the special '
'"__lshift__()" and\n'
'"__rshift__()" methods.\n'
'The left shift operation can be customized using the special\n'
'"__lshift__()" and "__rlshift__()" methods. The right shift '
'operation\n'
'can be customized using the special "__rshift__()" and '
'"__rrshift__()"\n'
'methods.\n'
'\n'
'A right shift by *n* bits is defined as floor division by '
'"pow(2,n)".\n'
Expand Down Expand Up @@ -12809,11 +12855,11 @@
' and are deemed to delimit empty strings (for example,\n'
' "\'1,,2\'.split(\',\')" returns "[\'1\', \'\', '
'\'2\']"). The *sep* argument\n'
' may consist of multiple characters (for example,\n'
' "\'1<>2<>3\'.split(\'<>\')" returns "[\'1\', \'2\', '
'\'3\']"). Splitting an\n'
' empty string with a specified separator returns '
'"[\'\']".\n'
' may consist of multiple characters as a single '
'delimiter (to split\n'
' with multiple delimiters, use "re.split()"). Splitting '
'an empty\n'
' string with a specified separator returns "[\'\']".\n'
'\n'
' For example:\n'
'\n'
Expand All @@ -12823,6 +12869,8 @@
" ['1', '2,3']\n"
" >>> '1,2,,3,'.split(',')\n"
" ['1', '2', '', '3', '']\n"
" >>> '1<>2<>3<4'.split('<>')\n"
" ['1', '2', '3<4']\n"
'\n'
' If *sep* is not specified or is "None", a different '
'splitting\n'
Expand Down Expand Up @@ -15333,7 +15381,7 @@
'\n'
' Return a shallow copy of the dictionary.\n'
'\n'
' classmethod fromkeys(iterable, value=None)\n'
' classmethod fromkeys(iterable, value=None, /)\n'
'\n'
' Create a new dictionary with keys from *iterable* and '
'values set\n'
Expand Down
Loading

0 comments on commit 567c38b

Please sign in to comment.