diff options
author | Jason Plurad <pluradj@us.ibm.com> | 2019-09-19 05:24:29 (GMT) |
---|---|---|
committer | Stéphane Wirtel <stephane@wirtel.be> | 2019-09-19 05:24:29 (GMT) |
commit | 9ab6038fe843e1193d795eb58fd5931b44be5a96 (patch) | |
tree | 5a576bb735c05bdc3125b6c71e590cff8ff7e2dc /Doc | |
parent | 42acb7b8d29d078bc97b0cfd7c4911b2266b26b9 (diff) | |
download | cpython-9ab6038fe843e1193d795eb58fd5931b44be5a96.zip cpython-9ab6038fe843e1193d795eb58fd5931b44be5a96.tar.gz cpython-9ab6038fe843e1193d795eb58fd5931b44be5a96.tar.bz2 |
Doc: Corrected syntax for return annotation (GH-16265)
Signed-off-by: Jason Plurad <pluradj@us.ibm.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/tutorial/errors.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst index 75a4925..c820e42 100644 --- a/Doc/tutorial/errors.rst +++ b/Doc/tutorial/errors.rst @@ -400,7 +400,7 @@ If a :keyword:`finally` clause is present, the :keyword:`finally` clause will ex For example:: - >>> def bool_return(): -> bool: + >>> def bool_return(): ... try: ... return True ... finally: |