From 9ab6038fe843e1193d795eb58fd5931b44be5a96 Mon Sep 17 00:00:00 2001 From: Jason Plurad Date: Thu, 19 Sep 2019 01:24:29 -0400 Subject: Doc: Corrected syntax for return annotation (GH-16265) Signed-off-by: Jason Plurad --- Doc/tutorial/errors.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst index 75a4925..c820e42 100644 --- a/Doc/tutorial/errors.rst +++ b/Doc/tutorial/errors.rst @@ -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: -- cgit v0.12