From: Jason Plurad Date: Thu, 19 Sep 2019 05:24:29 +0000 (-0400) Subject: Doc: Corrected syntax for return annotation (GH-16265) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ab6038fe843e1193d795eb58fd5931b44be5a96;p=python Doc: Corrected syntax for return annotation (GH-16265) Signed-off-by: Jason Plurad --- diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst index 75a49259d4..c820e42ac4 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: