Skip to content

Commit 20d3bce

Browse files
miss-islingtonpluradj-ibm
authored andcommitted
[3.7] bpo-38218: Doc: Corrected syntax for return annotation (GH-16265) (GH-16275)
Signed-off-by: Jason Plurad <[email protected]> (cherry picked from commit 9ab6038) Co-authored-by: Jason Plurad <[email protected]>
1 parent 1a3a48d commit 20d3bce

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
@@ -353,7 +353,7 @@ If a :keyword:`finally` clause is present, the :keyword:`finally` clause will ex
353353

354354
For example::
355355

356-
>>> def bool_return(): -> bool:
356+
>>> def bool_return():
357357
... try:
358358
... return True
359359
... finally:

0 commit comments

Comments
 (0)