Skip to content

Commit 076a963

Browse files
committed
Corrected syntax for return annotation
Signed-off-by: Jason Plurad <[email protected]>
1 parent 42acb7b commit 076a963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/errors.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ If a :keyword:`finally` clause is present, the :keyword:`finally` clause will ex
400400

401401
For example::
402402

403-
>>> def bool_return(): -> bool:
403+
>>> def bool_return():
404404
... try:
405405
... return True
406406
... finally:

0 commit comments

Comments
 (0)