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

Skip to content

Commit c730223

Browse files
committed
Update NEWS and topics for 3.7.0a2
1 parent c30b55b commit c730223

70 files changed

Lines changed: 700 additions & 155 deletions

File tree

Some content is hidden

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

Lib/pydoc_data/topics.py

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Tue Sep 19 00:59:47 2017
2+
# Autogenerated by Sphinx on Mon Oct 16 23:39:41 2017
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -936,6 +936,15 @@
936936
'about\n'
937937
'class and instance attributes applies as for regular '
938938
'assignments.\n',
939+
'await': 'Await expression\n'
940+
'****************\n'
941+
'\n'
942+
'Suspend the execution of *coroutine* on an *awaitable* object. Can\n'
943+
'only be used inside a *coroutine function*.\n'
944+
'\n'
945+
' await_expr ::= "await" primary\n'
946+
'\n'
947+
'New in version 3.5.\n',
939948
'binary': 'Binary arithmetic operations\n'
940949
'****************************\n'
941950
'\n'
@@ -3408,14 +3417,18 @@
34083417
'appears\n'
34093418
' as soon as the function is entered.\n'
34103419
'\n'
3411-
'pdb.set_trace()\n'
3420+
'pdb.set_trace(*, header=None)\n'
34123421
'\n'
34133422
' Enter the debugger at the calling stack frame. This is '
34143423
'useful to\n'
34153424
' hard-code a breakpoint at a given point in a program, even if '
34163425
'the\n'
34173426
' code is not otherwise being debugged (e.g. when an assertion\n'
3418-
' fails).\n'
3427+
' fails). If given, "header" is printed to the console just '
3428+
'before\n'
3429+
' debugging begins.\n'
3430+
'\n'
3431+
' New in version 3.7: The keyword-only argument "header".\n'
34193432
'\n'
34203433
'pdb.post_mortem(traceback=None)\n'
34213434
'\n'
@@ -4511,12 +4524,6 @@
45114524
' 3.14 10. .001 1e100 3.14e-10 0e0 '
45124525
'3.14_15_93\n'
45134526
'\n'
4514-
'Note that numeric literals do not include a sign; a phrase like '
4515-
'"-1"\n'
4516-
'is actually an expression composed of the unary operator "-" and '
4517-
'the\n'
4518-
'literal "1".\n'
4519-
'\n'
45204527
'Changed in version 3.6: Underscores are now allowed for '
45214528
'grouping\n'
45224529
'purposes in literals.\n',
@@ -5505,7 +5512,7 @@
55055512
'\n'
55065513
'**CPython implementation detail:** The current implementation does '
55075514
'not\n'
5508-
'enforce some of these restriction, but programs should not abuse '
5515+
'enforce some of these restrictions, but programs should not abuse '
55095516
'this\n'
55105517
'freedom, as future implementations may enforce them or silently '
55115518
'change\n'
@@ -10113,11 +10120,6 @@
1011310120
'or\n'
1011410121
'greater must be expressed with escapes.\n'
1011510122
'\n'
10116-
'As of Python 3.3 it is possible again to prefix string literals '
10117-
'with a\n'
10118-
'"u" prefix to simplify maintenance of dual 2.x and 3.x '
10119-
'codebases.\n'
10120-
'\n'
1012110123
'Both string and bytes literals may optionally be prefixed with a\n'
1012210124
'letter "\'r\'" or "\'R\'"; such strings are called *raw strings* '
1012310125
'and treat\n'

0 commit comments

Comments
 (0)