]> granicus.if.org Git - python/commit
Clarify exception handler scope in contextlib
authoramosonn <amosonn@gmail.com>
Wed, 1 Mar 2017 06:18:27 +0000 (07:18 +0100)
committerNick Coghlan <ncoghlan@gmail.com>
Wed, 1 Mar 2017 06:18:27 +0000 (16:18 +1000)
commit680e20beee8bbce9f857b8e7795009191f98b0ba
tree5ae14f35caa06e019eb9f81230400be848550a68
parenteca52296da65ccbe5b5926451453769ce4a069c3
Clarify exception handler scope in contextlib

Moved explicit raise from inside try to try...else.
Lib/contextlib.py