mirror of
https://github.com/python/cpython.git
synced 2026-01-04 22:42:14 +00:00
[3.8] bpo-38218: Doc: Corrected syntax for return annotation (GH-16265) (GH-16274)
Signed-off-by: Jason Plurad <pluradj@us.ibm.com>
(cherry picked from commit 9ab6038fe8)
Co-authored-by: Jason Plurad <pluradj@us.ibm.com>
This commit is contained in:
parent
064e1e3841
commit
6612a4fd36
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,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