[Python-checkins] [python/cpython] 680e20: Clarify exception handler scope in contextlib

GitHub noreply at github.com
Wed Mar 1 01:18:28 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 680e20beee8bbce9f857b8e7795009191f98b0ba
      https://github.com/python/cpython/commit/680e20beee8bbce9f857b8e7795009191f98b0ba
  Author: amosonn <amosonn at gmail.com>
  Date:   2017-03-01 (Wed, 01 Mar 2017)

  Changed paths:
    M Lib/contextlib.py

  Log Message:
  -----------
  Clarify exception handler scope in contextlib

Moved explicit raise from inside try to try...else.




More information about the Python-checkins mailing list