From 6612a4fd36c7f2d71b00da12a3ad4ce619670cd2 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 18 Sep 2019 22:42:57 -0700 Subject: [3.8] bpo-38218: Doc: Corrected syntax for return annotation (GH-16265) (GH-16274) Signed-off-by: Jason Plurad (cherry picked from commit 9ab6038fe843e1193d795eb58fd5931b44be5a96) Co-authored-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 0ddf0cc..9585f06 100644 --- a/Doc/tutorial/errors.rst +++ b/Doc/tutorial/errors.rst @@ -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: -- cgit v0.12