mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Doc: Corrected syntax for return annotation (GH-16265)
Signed-off-by: Jason Plurad <pluradj@us.ibm.com>
This commit is contained in:
parent
42acb7b8d2
commit
9ab6038fe8
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue