diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst index 0ddf0cc0042..9585f0673ae 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: