Skip to content

Commit e4a3e78

Browse files
committed
Python 3.13.0rc1
1 parent 9c1c918 commit e4a3e78

31 files changed

+307
-100
lines changed

Include/patchlevel.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 13
2121
#define PY_MICRO_VERSION 0
22-
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA
23-
#define PY_RELEASE_SERIAL 4
22+
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
23+
#define PY_RELEASE_SERIAL 1
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.13.0b4+"
26+
#define PY_VERSION "3.13.0rc1"
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: 29 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Thu Jul 18 11:36:18 2024
2+
# Autogenerated by Sphinx on Wed Jul 31 20:10:37 2024
33
# as part of the release process.
44
topics = {'assert': 'The "assert" statement\n'
55
'**********************\n'
@@ -633,10 +633,10 @@
633633
'\n'
634634
'Evaluation of a literal yields an object of the given type '
635635
'(string,\n'
636-
'bytes, integer, floating point number, complex number) with '
636+
'bytes, integer, floating-point number, complex number) with '
637637
'the given\n'
638638
'value. The value may be approximated in the case of '
639-
'floating point\n'
639+
'floating-point\n'
640640
'and imaginary (complex) literals. See section Literals for '
641641
'details.\n'
642642
'\n'
@@ -1307,8 +1307,8 @@
13071307
'the first argument by the second. The numeric arguments are '
13081308
'first\n'
13091309
'converted to a common type. A zero right argument raises the\n'
1310-
'"ZeroDivisionError" exception. The arguments may be floating '
1311-
'point\n'
1310+
'"ZeroDivisionError" exception. The arguments may be '
1311+
'floating-point\n'
13121312
'numbers, e.g., "3.14%0.7" equals "0.34" (since "3.14" equals '
13131313
'"4*0.7 +\n'
13141314
'0.34".) The modulo operator always yields a result with the same '
@@ -1341,7 +1341,7 @@
13411341
'"divmod()"\n'
13421342
'function are not defined for complex numbers. Instead, convert to '
13431343
'a\n'
1344-
'floating point number using the "abs()" function if appropriate.\n'
1344+
'floating-point number using the "abs()" function if appropriate.\n'
13451345
'\n'
13461346
'The "+" (addition) operator yields the sum of its arguments. The\n'
13471347
'arguments must either both be numbers or both be sequences of the '
@@ -4474,7 +4474,7 @@
44744474
'converted to\n'
44754475
' complex;\n'
44764476
'\n'
4477-
'* otherwise, if either argument is a floating point number, '
4477+
'* otherwise, if either argument is a floating-point number, '
44784478
'the other\n'
44794479
' is converted to floating point;\n'
44804480
'\n'
@@ -6587,10 +6587,10 @@
65876587
'that expression. (To create an empty tuple, use an empty pair '
65886588
'of\n'
65896589
'parentheses: "()".)\n',
6590-
'floating': 'Floating point literals\n'
6590+
'floating': 'Floating-point literals\n'
65916591
'***********************\n'
65926592
'\n'
6593-
'Floating point literals are described by the following lexical\n'
6593+
'Floating-point literals are described by the following lexical\n'
65946594
'definitions:\n'
65956595
'\n'
65966596
' floatnumber ::= pointfloat | exponentfloat\n'
@@ -6604,12 +6604,12 @@
66046604
'using\n'
66056605
'radix 10. For example, "077e010" is legal, and denotes the same '
66066606
'number\n'
6607-
'as "77e10". The allowed range of floating point literals is\n'
6607+
'as "77e10". The allowed range of floating-point literals is\n'
66086608
'implementation-dependent. As in integer literals, underscores '
66096609
'are\n'
66106610
'supported for digit grouping.\n'
66116611
'\n'
6612-
'Some examples of floating point literals:\n'
6612+
'Some examples of floating-point literals:\n'
66136613
'\n'
66146614
' 3.14 10. .001 1e100 3.14e-10 0e0 '
66156615
'3.14_15_93\n'
@@ -6992,7 +6992,7 @@
69926992
'\n'
69936993
'The "\'_\'" option signals the use of an underscore for a '
69946994
'thousands\n'
6995-
'separator for floating point presentation types and for '
6995+
'separator for floating-point presentation types and for '
69966996
'integer\n'
69976997
'presentation type "\'d\'". For integer presentation types '
69986998
'"\'b\'", "\'o\'",\n'
@@ -7119,11 +7119,11 @@
71197119
'\n'
71207120
'In addition to the above presentation types, integers can '
71217121
'be formatted\n'
7122-
'with the floating point presentation types listed below '
7122+
'with the floating-point presentation types listed below '
71237123
'(except "\'n\'"\n'
71247124
'and "None"). When doing so, "float()" is used to convert '
71257125
'the integer\n'
7126-
'to a floating point number before formatting.\n'
7126+
'to a floating-point number before formatting.\n'
71277127
'\n'
71287128
'The available presentation types for "float" and "Decimal" '
71297129
'values are:\n'
@@ -7981,11 +7981,11 @@
79817981
'\n'
79827982
'An imaginary literal yields a complex number with a real part '
79837983
'of 0.0.\n'
7984-
'Complex numbers are represented as a pair of floating point '
7984+
'Complex numbers are represented as a pair of floating-point '
79857985
'numbers\n'
79867986
'and have the same restrictions on their range. To create a '
79877987
'complex\n'
7988-
'number with a nonzero real part, add a floating point number to '
7988+
'number with a nonzero real part, add a floating-point number to '
79897989
'it,\n'
79907990
'e.g., "(3+4j)". Some examples of imaginary literals:\n'
79917991
'\n'
@@ -8782,8 +8782,8 @@
87828782
'numbers': 'Numeric literals\n'
87838783
'****************\n'
87848784
'\n'
8785-
'There are three types of numeric literals: integers, floating '
8786-
'point\n'
8785+
'There are three types of numeric literals: integers, '
8786+
'floating-point\n'
87878787
'numbers, and imaginary numbers. There are no complex literals\n'
87888788
'(complex numbers can be formed by adding a real number and an\n'
87898789
'imaginary number).\n'
@@ -13855,7 +13855,7 @@
1385513855
'\n'
1385613856
'* A sign is shown only when the number is negative.\n'
1385713857
'\n'
13858-
'Python distinguishes between integers, floating point numbers, and\n'
13858+
'Python distinguishes between integers, floating-point numbers, and\n'
1385913859
'complex numbers:\n'
1386013860
'\n'
1386113861
'\n'
@@ -13900,28 +13900,28 @@
1390013900
'"numbers.Real" ("float")\n'
1390113901
'------------------------\n'
1390213902
'\n'
13903-
'These represent machine-level double precision floating point '
13903+
'These represent machine-level double precision floating-point '
1390413904
'numbers.\n'
1390513905
'You are at the mercy of the underlying machine architecture (and C '
1390613906
'or\n'
1390713907
'Java implementation) for the accepted range and handling of '
1390813908
'overflow.\n'
13909-
'Python does not support single-precision floating point numbers; '
13909+
'Python does not support single-precision floating-point numbers; '
1391013910
'the\n'
1391113911
'savings in processor and memory usage that are usually the reason '
1391213912
'for\n'
1391313913
'using these are dwarfed by the overhead of using objects in Python, '
1391413914
'so\n'
1391513915
'there is no reason to complicate the language with two kinds of\n'
13916-
'floating point numbers.\n'
13916+
'floating-point numbers.\n'
1391713917
'\n'
1391813918
'\n'
1391913919
'"numbers.Complex" ("complex")\n'
1392013920
'-----------------------------\n'
1392113921
'\n'
1392213922
'These represent complex numbers as a pair of machine-level double\n'
13923-
'precision floating point numbers. The same caveats apply as for\n'
13924-
'floating point numbers. The real and imaginary parts of a complex\n'
13923+
'precision floating-point numbers. The same caveats apply as for\n'
13924+
'floating-point numbers. The real and imaginary parts of a complex\n'
1392513925
'number "z" can be retrieved through the read-only attributes '
1392613926
'"z.real"\n'
1392713927
'and "z.imag".\n'
@@ -14336,21 +14336,10 @@
1433614336
'to\n'
1433714337
'calling "f(C,1)" where "f" is the underlying function.\n'
1433814338
'\n'
14339-
'Note that the transformation from function object to instance '
14340-
'method\n'
14341-
'object happens each time the attribute is retrieved from the '
14342-
'instance.\n'
14343-
'In some cases, a fruitful optimization is to assign the attribute '
14344-
'to a\n'
14345-
'local variable and call that local variable. Also notice that this\n'
14346-
'transformation only happens for user-defined functions; other '
14347-
'callable\n'
14348-
'objects (and all non-callable objects) are retrieved without\n'
14349-
'transformation. It is also important to note that user-defined\n'
14350-
'functions which are attributes of a class instance are not '
14351-
'converted\n'
14352-
'to bound methods; this *only* happens when the function is an\n'
14353-
'attribute of the class.\n'
14339+
'It is important to note that user-defined functions which are\n'
14340+
'attributes of a class instance are not converted to bound methods;\n'
14341+
'this *only* happens when the function is an attribute of the '
14342+
'class.\n'
1435414343
'\n'
1435514344
'\n'
1435614345
'Generator functions\n'
@@ -16508,7 +16497,7 @@
1650816497
'\n'
1650916498
' * The linspace recipe shows how to implement a lazy version of '
1651016499
'range\n'
16511-
' suitable for floating point applications.\n',
16500+
' suitable for floating-point applications.\n',
1651216501
'typesseq-mutable': 'Mutable Sequence Types\n'
1651316502
'**********************\n'
1651416503
'\n'

0 commit comments

Comments
 (0)