Commit 9ab6038f authored by Jason Plurad's avatar Jason Plurad Committed by Stéphane Wirtel

Doc: Corrected syntax for return annotation (GH-16265)

Signed-off-by: default avatarJason Plurad <pluradj@us.ibm.com>
parent 42acb7b8
...@@ -400,7 +400,7 @@ If a :keyword:`finally` clause is present, the :keyword:`finally` clause will ex ...@@ -400,7 +400,7 @@ If a :keyword:`finally` clause is present, the :keyword:`finally` clause will ex
For example:: For example::
>>> def bool_return(): -> bool: >>> def bool_return():
... try: ... try:
... return True ... return True
... finally: ... finally:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment