]> granicus.if.org Git - python/commit
[3.5] Clarify exception handler scope in contextlib (GH-1104)
authorMariatta <Mariatta@users.noreply.github.com>
Thu, 13 Apr 2017 04:05:25 +0000 (21:05 -0700)
committerGitHub <noreply@github.com>
Thu, 13 Apr 2017 04:05:25 +0000 (21:05 -0700)
commitc0f4240fac397e1cdd1ee202fc1ce6eb23037d06
treedcf147d90a9359c29bb1e7c98376e261fb6f0de7
parentf3972dd1c1c514ed26bb8139b59b649fa7983743
[3.5] Clarify exception handler scope in contextlib (GH-1104)

Moved explicit raise from inside try to try...else.
(cherry picked from commit 680e20beee8bbce9f857b8e7795009191f98b0ba)
Lib/contextlib.py