[Python-checkins] (no subject)
Stéphane Wirtel
webhook-mailer at python.org
Thu Sep 19 01:43:01 EDT 2019
To: python-checkins at python.org
Subject: [3.8] bpo-38218: Doc: Corrected syntax for return annotation
(GH-16265) (GH-16274)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
https://github.com/python/cpython/commit/6612a4fd36c7f2d71b00da12a3ad4ce61967=
0cd2
commit: 6612a4fd36c7f2d71b00da12a3ad4ce619670cd2
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.co=
m>
committer: St=C3=A9phane Wirtel <stephane at wirtel.be>
date: 2019-09-19T07:42:57+02:00
summary:
[3.8] bpo-38218: Doc: Corrected syntax for return annotation (GH-16265) (GH-1=
6274)
Signed-off-by: Jason Plurad <pluradj at us.ibm.com>
(cherry picked from commit 9ab6038fe843e1193d795eb58fd5931b44be5a96)
Co-authored-by: Jason Plurad <pluradj at us.ibm.com>
files:
M Doc/tutorial/errors.rst
diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst
index 0ddf0cc0042d..9585f0673aec 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
=20
For example::
=20
- >>> def bool_return(): -> bool:
+ >>> def bool_return():
... try:
... return True
... finally:
More information about the Python-checkins
mailing list