Skip to content

Commit 6202d85

Browse files
committed
Python 3.9.0a2
1 parent 673c393 commit 6202d85

File tree

95 files changed

+1009
-214
lines changed

Some content is hidden

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

95 files changed

+1009
-214
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 9
2121
#define PY_MICRO_VERSION 0
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
23-
#define PY_RELEASE_SERIAL 1
23+
#define PY_RELEASE_SERIAL 2
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.9.0a1+"
26+
#define PY_VERSION "3.9.0a2"
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: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Tue Nov 19 11:42:25 2019
2+
# Autogenerated by Sphinx on Wed Dec 18 22:05:39 2019
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -862,6 +862,22 @@
862862
'created. The\n'
863863
' descriptor has been assigned to *name*.\n'
864864
'\n'
865+
' Note: "__set_name__()" is only called implicitly as '
866+
'part of the\n'
867+
' "type" constructor, so it will need to be called '
868+
'explicitly with\n'
869+
' the appropriate parameters when a descriptor is '
870+
'added to a class\n'
871+
' after initial creation:\n'
872+
'\n'
873+
' class A:\n'
874+
' pass\n'
875+
' descr = custom_descriptor()\n'
876+
' A.attr = descr\n'
877+
" descr.__set_name__(A, 'attr')\n"
878+
'\n'
879+
' See Creating the class object for more details.\n'
880+
'\n'
865881
' New in version 3.6.\n'
866882
'\n'
867883
'The attribute "__objclass__" is interpreted by the '
@@ -4224,6 +4240,17 @@
42244240
' Quit from the debugger. The program being executed is '
42254241
'aborted.\n'
42264242
'\n'
4243+
'debug code\n'
4244+
'\n'
4245+
' Enter a recursive debugger that steps through the code '
4246+
'argument\n'
4247+
' (which is an arbitrary expression or statement to be executed '
4248+
'in\n'
4249+
' the current environment).\n'
4250+
'\n'
4251+
'retval\n'
4252+
'Print the return value for the last return of a function.\n'
4253+
'\n'
42274254
'-[ Footnotes ]-\n'
42284255
'\n'
42294256
'[1] Whether a frame is considered to originate in a certain '
@@ -8525,6 +8552,22 @@
85258552
'The\n'
85268553
' descriptor has been assigned to *name*.\n'
85278554
'\n'
8555+
' Note: "__set_name__()" is only called implicitly as part '
8556+
'of the\n'
8557+
' "type" constructor, so it will need to be called '
8558+
'explicitly with\n'
8559+
' the appropriate parameters when a descriptor is added '
8560+
'to a class\n'
8561+
' after initial creation:\n'
8562+
'\n'
8563+
' class A:\n'
8564+
' pass\n'
8565+
' descr = custom_descriptor()\n'
8566+
' A.attr = descr\n'
8567+
" descr.__set_name__(A, 'attr')\n"
8568+
'\n'
8569+
' See Creating the class object for more details.\n'
8570+
'\n'
85288571
' New in version 3.6.\n'
85298572
'\n'
85308573
'The attribute "__objclass__" is interpreted by the "inspect" '
@@ -11902,8 +11945,9 @@
1190211945
' bytecode offsets to line numbers (for details see the source\n'
1190311946
' code of the interpreter); "co_stacksize" is the required '
1190411947
'stack\n'
11905-
' size (including local variables); "co_flags" is an integer\n'
11906-
' encoding a number of flags for the interpreter.\n'
11948+
' size; "co_flags" is an integer encoding a number of flags '
11949+
'for\n'
11950+
' the interpreter.\n'
1190711951
'\n'
1190811952
' The following flag bits are defined for "co_flags": bit '
1190911953
'"0x04"\n'

0 commit comments

Comments
 (0)