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

Berker Peksag webhook-mailer at python.org
Sat Nov 11 09:55:08 EST 2017


https://github.com/python/cpython/commit/7c9da3e5ba060463b661da58ec3fe6beedce5566
commit: 7c9da3e5ba060463b661da58ec3fe6beedce5566
branch: master
author: Berker Peksag <berker.peksag at gmail.com>
committer: GitHub <noreply at github.com>
date: 2017-11-11T17:55:05+03:00
summary:

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

It can be removed after https://github.com/python/peps/commit/c28890fb421c906241da6da718f9eacc5a3109ee

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