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
For example::
>>> def bool_return(): -> bool:
>>> def bool_return():
... try:
... return True
... 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