Skip to content

Commit 69785b2

Browse files
committed
3.7.3rc1
1 parent e6183cc commit 69785b2

File tree

127 files changed

+1313
-317
lines changed

Some content is hidden

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

127 files changed

+1313
-317
lines changed

Include/patchlevel.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
/*--start constants--*/
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 7
21-
#define PY_MICRO_VERSION 2
22-
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
23-
#define PY_RELEASE_SERIAL 0
21+
#define PY_MICRO_VERSION 3
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.7.2+"
26+
#define PY_VERSION "3.7.3rc1"
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: 68 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Sun Dec 23 16:24:58 2018
2+
# Autogenerated by Sphinx on Tue Mar 12 14:56:48 2019
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -351,9 +351,9 @@
351351
'Annotated assignment statements\n'
352352
'===============================\n'
353353
'\n'
354-
'Annotation assignment is the combination, in a single '
355-
'statement, of a\n'
356-
'variable or attribute annotation and an optional assignment '
354+
'*Annotation* assignment is the combination, in a single '
355+
'statement, of\n'
356+
'a variable or attribute annotation and an optional assignment\n'
357357
'statement:\n'
358358
'\n'
359359
' annotated_assignment_stmt ::= augtarget ":" expression ["=" '
@@ -962,7 +962,8 @@
962962
'in a parent.)\n'
963963
'\n'
964964
'The space saved over using *__dict__* can be '
965-
'significant.\n'
965+
'significant. Attribute\n'
966+
'lookup speed can be significantly improved as well.\n'
966967
'\n'
967968
'object.__slots__\n'
968969
'\n'
@@ -2667,30 +2668,31 @@
26672668
'passed\n'
26682669
'used keyword arguments.\n'
26692670
'\n'
2670-
'Parameters may have annotations of the form “": expression"” '
2671-
'following\n'
2672-
'the parameter name. Any parameter may have an annotation even '
2673-
'those\n'
2674-
'of the form "*identifier" or "**identifier". Functions may '
2675-
'have\n'
2676-
'“return” annotation of the form “"-> expression"” after the '
2677-
'parameter\n'
2678-
'list. These annotations can be any valid Python expression. '
2679-
'The\n'
2680-
'presence of annotations does not change the semantics of a '
2681-
'function.\n'
2682-
'The annotation values are available as values of a dictionary '
2683-
'keyed by\n'
2684-
'the parameters’ names in the "__annotations__" attribute of the\n'
2685-
'function object. If the "annotations" import from "__future__" '
2686-
'is\n'
2687-
'used, annotations are preserved as strings at runtime which '
2688-
'enables\n'
2689-
'postponed evaluation. Otherwise, they are evaluated when the '
2690-
'function\n'
2691-
'definition is executed. In this case annotations may be '
2692-
'evaluated in\n'
2693-
'a different order than they appear in the source code.\n'
2671+
'Parameters may have an *annotation* of the form “": '
2672+
'expression"”\n'
2673+
'following the parameter name. Any parameter may have an '
2674+
'annotation,\n'
2675+
'even those of the form "*identifier" or "**identifier". '
2676+
'Functions may\n'
2677+
'have “return” annotation of the form “"-> expression"” after '
2678+
'the\n'
2679+
'parameter list. These annotations can be any valid Python '
2680+
'expression.\n'
2681+
'The presence of annotations does not change the semantics of a\n'
2682+
'function. The annotation values are available as values of a\n'
2683+
'dictionary keyed by the parameters’ names in the '
2684+
'"__annotations__"\n'
2685+
'attribute of the function object. If the "annotations" import '
2686+
'from\n'
2687+
'"__future__" is used, annotations are preserved as strings at '
2688+
'runtime\n'
2689+
'which enables postponed evaluation. Otherwise, they are '
2690+
'evaluated\n'
2691+
'when the function definition is executed. In this case '
2692+
'annotations\n'
2693+
'may be evaluated in a different order than they appear in the '
2694+
'source\n'
2695+
'code.\n'
26942696
'\n'
26952697
'It is also possible to create anonymous functions (functions not '
26962698
'bound\n'
@@ -3612,6 +3614,10 @@
36123614
'running\n'
36133615
'without the debugger using the "continue" command.\n'
36143616
'\n'
3617+
'New in version 3.7: The built-in "breakpoint()", when called '
3618+
'with\n'
3619+
'defaults, can be used instead of "import pdb; pdb.set_trace()".\n'
3620+
'\n'
36153621
'The typical usage to inspect a crashed program is:\n'
36163622
'\n'
36173623
' >>> import pdb\n'
@@ -5690,30 +5696,31 @@
56905696
'passed\n'
56915697
'used keyword arguments.\n'
56925698
'\n'
5693-
'Parameters may have annotations of the form “": expression"” '
5694-
'following\n'
5695-
'the parameter name. Any parameter may have an annotation even '
5696-
'those\n'
5697-
'of the form "*identifier" or "**identifier". Functions may '
5698-
'have\n'
5699-
'“return” annotation of the form “"-> expression"” after the '
5700-
'parameter\n'
5701-
'list. These annotations can be any valid Python expression. '
5702-
'The\n'
5703-
'presence of annotations does not change the semantics of a '
5704-
'function.\n'
5705-
'The annotation values are available as values of a dictionary '
5706-
'keyed by\n'
5707-
'the parameters’ names in the "__annotations__" attribute of the\n'
5708-
'function object. If the "annotations" import from "__future__" '
5709-
'is\n'
5710-
'used, annotations are preserved as strings at runtime which '
5711-
'enables\n'
5712-
'postponed evaluation. Otherwise, they are evaluated when the '
5713-
'function\n'
5714-
'definition is executed. In this case annotations may be '
5715-
'evaluated in\n'
5716-
'a different order than they appear in the source code.\n'
5699+
'Parameters may have an *annotation* of the form “": '
5700+
'expression"”\n'
5701+
'following the parameter name. Any parameter may have an '
5702+
'annotation,\n'
5703+
'even those of the form "*identifier" or "**identifier". '
5704+
'Functions may\n'
5705+
'have “return” annotation of the form “"-> expression"” after '
5706+
'the\n'
5707+
'parameter list. These annotations can be any valid Python '
5708+
'expression.\n'
5709+
'The presence of annotations does not change the semantics of a\n'
5710+
'function. The annotation values are available as values of a\n'
5711+
'dictionary keyed by the parameters’ names in the '
5712+
'"__annotations__"\n'
5713+
'attribute of the function object. If the "annotations" import '
5714+
'from\n'
5715+
'"__future__" is used, annotations are preserved as strings at '
5716+
'runtime\n'
5717+
'which enables postponed evaluation. Otherwise, they are '
5718+
'evaluated\n'
5719+
'when the function definition is executed. In this case '
5720+
'annotations\n'
5721+
'may be evaluated in a different order than they appear in the '
5722+
'source\n'
5723+
'code.\n'
57175724
'\n'
57185725
'It is also possible to create anonymous functions (functions not '
57195726
'bound\n'
@@ -8566,7 +8573,9 @@
85668573
'(unless explicitly declared in *__slots__* or available in a '
85678574
'parent.)\n'
85688575
'\n'
8569-
'The space saved over using *__dict__* can be significant.\n'
8576+
'The space saved over using *__dict__* can be significant. '
8577+
'Attribute\n'
8578+
'lookup speed can be significantly improved as well.\n'
85708579
'\n'
85718580
'object.__slots__\n'
85728581
'\n'
@@ -11555,7 +11564,7 @@
1155511564
'Modules\n'
1155611565
' Modules are a basic organizational unit of Python code, and are\n'
1155711566
' created by the import system as invoked either by the "import"\n'
11558-
' statement (see "import"), or by calling functions such as\n'
11567+
' statement, or by calling functions such as\n'
1155911568
' "importlib.import_module()" and built-in "__import__()". A '
1156011569
'module\n'
1156111570
' object has a namespace implemented by a dictionary object (this '
@@ -12147,11 +12156,11 @@
1214712156
'\n'
1214812157
' Return a shallow copy of the dictionary.\n'
1214912158
'\n'
12150-
' classmethod fromkeys(seq[, value])\n'
12159+
' classmethod fromkeys(iterable[, value])\n'
1215112160
'\n'
12152-
' Create a new dictionary with keys from *seq* and '
12153-
'values set to\n'
12154-
' *value*.\n'
12161+
' Create a new dictionary with keys from *iterable* and '
12162+
'values set\n'
12163+
' to *value*.\n'
1215512164
'\n'
1215612165
' "fromkeys()" is a class method that returns a new '
1215712166
'dictionary.\n'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy