Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec61006

Browse files
committed
Python 3.13.0rc2
1 parent 72cdd2a commit ec61006

File tree

79 files changed

+787
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+787
-175
lines changed

Include/patchlevel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
#define PY_MINOR_VERSION 13
2121
#define PY_MICRO_VERSION 0
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
23-
#define PY_RELEASE_SERIAL 1
23+
#define PY_RELEASE_SERIAL 2
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.13.0rc1+"
26+
#define PY_VERSION "3.13.0rc2"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

Lib/pydoc_data/topics.py

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Wed Jul 31 20:10:37 2024
2+
# Autogenerated by Sphinx on Fri Sep 6 23:12:24 2024
33
# as part of the release process.
44
topics = {'assert': 'The "assert" statement\n'
55
'**********************\n'
@@ -3101,7 +3101,7 @@
31013101
' | "None"\n'
31023102
' | "True"\n'
31033103
' | "False"\n'
3104-
' | signed_number: NUMBER | "-" NUMBER\n'
3104+
' signed_number ::= ["-"] NUMBER\n'
31053105
'\n'
31063106
'The rule "strings" and the token "NUMBER" are defined in the '
31073107
'standard\n'
@@ -9115,16 +9115,22 @@
91159115
'types, operations that compute new values may actually return a\n'
91169116
'reference to any existing object with the same type and value, '
91179117
'while\n'
9118-
'for mutable objects this is not allowed. E.g., after "a = 1; b = '
9119-
'1",\n'
9120-
'"a" and "b" may or may not refer to the same object with the '
9121-
'value\n'
9122-
'one, depending on the implementation, but after "c = []; d = []", '
9123-
'"c"\n'
9124-
'and "d" are guaranteed to refer to two different, unique, newly\n'
9125-
'created empty lists. (Note that "c = d = []" assigns the same '
9126-
'object\n'
9127-
'to both "c" and "d".)\n',
9118+
'for mutable objects this is not allowed. For example, after "a = '
9119+
'1; b\n'
9120+
'= 1", *a* and *b* may or may not refer to the same object with '
9121+
'the\n'
9122+
'value one, depending on the implementation. This is because "int" '
9123+
'is\n'
9124+
'an immutable type, so the reference to "1" can be reused. This\n'
9125+
'behaviour depends on the implementation used, so should not be '
9126+
'relied\n'
9127+
'upon, but is something to be aware of when making use of object\n'
9128+
'identity tests. However, after "c = []; d = []", *c* and *d* are\n'
9129+
'guaranteed to refer to two different, unique, newly created '
9130+
'empty\n'
9131+
'lists. (Note that "e = f = []" assigns the *same* object to both '
9132+
'*e*\n'
9133+
'and *f*.)\n',
91289134
'operator-summary': 'Operator precedence\n'
91299135
'*******************\n'
91309136
'\n'
@@ -13213,15 +13219,13 @@
1321313219
'greater must be expressed with escapes.\n'
1321413220
'\n'
1321513221
'Both string and bytes literals may optionally be prefixed with a\n'
13216-
'letter "\'r\'" or "\'R\'"; such strings are called *raw strings* '
13217-
'and treat\n'
13218-
'backslashes as literal characters. As a result, in string '
13219-
'literals,\n'
13220-
'"\'\\U\'" and "\'\\u\'" escapes in raw strings are not treated '
13221-
'specially.\n'
13222-
'Given that Python 2.x’s raw unicode literals behave differently '
13223-
'than\n'
13224-
'Python 3.x’s the "\'ur\'" syntax is not supported.\n'
13222+
'letter "\'r\'" or "\'R\'"; such constructs are called *raw '
13223+
'string\n'
13224+
'literals* and *raw bytes literals* respectively and treat '
13225+
'backslashes\n'
13226+
'as literal characters. As a result, in raw string literals, '
13227+
'"\'\\U\'"\n'
13228+
'and "\'\\u\'" escapes are not treated specially.\n'
1322513229
'\n'
1322613230
'Added in version 3.3: The "\'rb\'" prefix of raw bytes literals '
1322713231
'has been\n'
@@ -14115,8 +14119,7 @@
1411514119
'however removing a key and re-inserting it will add it to the end\n'
1411614120
'instead of keeping its old place.\n'
1411714121
'\n'
14118-
'Dictionaries are mutable; they can be created by the "{...}" '
14119-
'notation\n'
14122+
'Dictionaries are mutable; they can be created by the "{}" notation\n'
1412014123
'(see section Dictionary displays).\n'
1412114124
'\n'
1412214125
'The extension modules "dbm.ndbm" and "dbm.gnu" provide additional\n'
@@ -14588,7 +14591,7 @@
1458814591
' "__static_attributes__"\n'
1458914592
' A tuple containing names of attributes of this class which '
1459014593
'are\n'
14591-
' accessed through "self.X" from any function in its body.\n'
14594+
' assigned through "self.X" from any function in its body.\n'
1459214595
'\n'
1459314596
' "__firstlineno__"\n'
1459414597
' The line number of the first line of the class definition,\n'
@@ -16125,8 +16128,8 @@
1612516128
'| | also removes it from '
1612616129
'*s* | |\n'
1612716130
'+--------------------------------+----------------------------------+-----------------------+\n'
16128-
'| "s.remove(x)" | remove the first item from '
16129-
'*s* | (3) |\n'
16131+
'| "s.remove(x)" | removes the first item from '
16132+
'*s* | (3) |\n'
1613016133
'| | where "s[i]" is equal to '
1613116134
'*x* | |\n'
1613216135
'+--------------------------------+----------------------------------+-----------------------+\n'
@@ -16590,8 +16593,8 @@
1659016593
'| | also removes it from '
1659116594
'*s* | |\n'
1659216595
'+--------------------------------+----------------------------------+-----------------------+\n'
16593-
'| "s.remove(x)" | remove the first item '
16594-
'from *s* | (3) |\n'
16596+
'| "s.remove(x)" | removes the first '
16597+
'item from *s* | (3) |\n'
1659516598
'| | where "s[i]" is equal '
1659616599
'to *x* | |\n'
1659716600
'+--------------------------------+----------------------------------+-----------------------+\n'

0 commit comments

Comments
 (0)