[Python-checkins] [python/cpython] c0f424: [3.5] Clarify exception handler scope in contextli...

GitHub noreply at github.com
Thu Apr 13 00:05:27 EDT 2017


  Branch: refs/heads/3.5
  Home:   https://github.com/python/cpython
  Commit: c0f4240fac397e1cdd1ee202fc1ce6eb23037d06
      https://github.com/python/cpython/commit/c0f4240fac397e1cdd1ee202fc1ce6eb23037d06
  Author: Mariatta <Mariatta at users.noreply.github.com>
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
    M Lib/contextlib.py

  Log Message:
  -----------
  [3.5] Clarify exception handler scope in contextlib (GH-1104)

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




More information about the Python-checkins mailing list