diff options
author | Jason Plurad <pluradj@us.ibm.com> | 2019-09-19 01:24:29 -0400 |
---|---|---|
committer | Stéphane Wirtel <stephane@wirtel.be> | 2019-09-19 07:24:29 +0200 |
commit | 9ab6038fe843e1193d795eb58fd5931b44be5a96 (patch) | |
tree | 5a576bb735c05bdc3125b6c71e590cff8ff7e2dc /Doc/tutorial | |
parent | 42acb7b8d29d078bc97b0cfd7c4911b2266b26b9 (diff) | |
download | cpython-git-9ab6038fe843e1193d795eb58fd5931b44be5a96.tar.gz |
Doc: Corrected syntax for return annotation (GH-16265)
Signed-off-by: Jason Plurad <pluradj@us.ibm.com>
Diffstat (limited to 'Doc/tutorial')
-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 75a49259d4..c820e42ac4 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: |