[Python-checkins] Remove redundant 'exc = True' line (GH-4357)

Berker Peksag webhook-mailer at python.org
Sat Nov 11 10:11:39 EST 2017


https://github.com/python/cpython/commit/98ad985afe452438dcccd19583071008b7afe691
commit: 98ad985afe452438dcccd19583071008b7afe691
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Berker Peksag <berker.peksag at gmail.com>
date: 2017-11-11T18:11:34+03:00
summary:

Remove redundant 'exc = True' line (GH-4357)

It can be removed after https://github.com/python/peps/commit/c28890fb421c906241da6da718f9eacc5a3109ee
(cherry picked from commit 7c9da3e5ba060463b661da58ec3fe6beedce5566)

files:
M Doc/reference/compound_stmts.rst

diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index 4b425a48209..dca93624004 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -773,7 +773,6 @@ Is semantically equivalent to::
     mgr = (EXPR)
     aexit = type(mgr).__aexit__
     aenter = type(mgr).__aenter__(mgr)
-    exc = True
 
     VAR = await aenter
     try:



More information about the Python-checkins mailing list