summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/pydoc_data/topics.py32
1 files changed, 17 insertions, 15 deletions
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py
index 8d64ad4..2c52b54 100644
--- a/Lib/pydoc_data/topics.py
+++ b/Lib/pydoc_data/topics.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Autogenerated by Sphinx on Tue Sep 19 00:59:47 2017
+# Autogenerated by Sphinx on Mon Oct 16 23:39:41 2017
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
@@ -936,6 +936,15 @@ topics = {'assert': 'The "assert" statement\n'
'about\n'
'class and instance attributes applies as for regular '
'assignments.\n',
+ 'await': 'Await expression\n'
+ '****************\n'
+ '\n'
+ 'Suspend the execution of *coroutine* on an *awaitable* object. Can\n'
+ 'only be used inside a *coroutine function*.\n'
+ '\n'
+ ' await_expr ::= "await" primary\n'
+ '\n'
+ 'New in version 3.5.\n',
'binary': 'Binary arithmetic operations\n'
'****************************\n'
'\n'
@@ -3408,14 +3417,18 @@ topics = {'assert': 'The "assert" statement\n'
'appears\n'
' as soon as the function is entered.\n'
'\n'
- 'pdb.set_trace()\n'
+ 'pdb.set_trace(*, header=None)\n'
'\n'
' Enter the debugger at the calling stack frame. This is '
'useful to\n'
' hard-code a breakpoint at a given point in a program, even if '
'the\n'
' code is not otherwise being debugged (e.g. when an assertion\n'
- ' fails).\n'
+ ' fails). If given, "header" is printed to the console just '
+ 'before\n'
+ ' debugging begins.\n'
+ '\n'
+ ' New in version 3.7: The keyword-only argument "header".\n'
'\n'
'pdb.post_mortem(traceback=None)\n'
'\n'
@@ -4511,12 +4524,6 @@ topics = {'assert': 'The "assert" statement\n'
' 3.14 10. .001 1e100 3.14e-10 0e0 '
'3.14_15_93\n'
'\n'
- 'Note that numeric literals do not include a sign; a phrase like '
- '"-1"\n'
- 'is actually an expression composed of the unary operator "-" and '
- 'the\n'
- 'literal "1".\n'
- '\n'
'Changed in version 3.6: Underscores are now allowed for '
'grouping\n'
'purposes in literals.\n',
@@ -5505,7 +5512,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'**CPython implementation detail:** The current implementation does '
'not\n'
- 'enforce some of these restriction, but programs should not abuse '
+ 'enforce some of these restrictions, but programs should not abuse '
'this\n'
'freedom, as future implementations may enforce them or silently '
'change\n'
@@ -10113,11 +10120,6 @@ topics = {'assert': 'The "assert" statement\n'
'or\n'
'greater must be expressed with escapes.\n'
'\n'
- 'As of Python 3.3 it is possible again to prefix string literals '
- 'with a\n'
- '"u" prefix to simplify maintenance of dual 2.x and 3.x '
- 'codebases.\n'
- '\n'
'Both string and bytes literals may optionally be prefixed with a\n'
'letter "\'r\'" or "\'R\'"; such strings are called *raw strings* '
'and treat\n'