]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #24336: The contextmanager decorator now works with functions with
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 28 Jun 2015 14:08:35 +0000 (17:08 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 28 Jun 2015 14:08:35 +0000 (17:08 +0300)
commiteab770404437bd49ebf897b681221784b0035795
tree291450eb49145a982a5d30b60f31070d5eb56fdf
parent4801383c2953d3a45beafa1e945d60412460b9c3
parent101ff3541cbe5bd9549722dc53c28d6c21b9389c
Issue #24336: The contextmanager decorator now works with functions with
keyword arguments called "func" and "self".  Patch by Martin Panter.
Lib/contextlib.py
Lib/test/test_contextlib.py
Lib/test/test_with.py
Misc/NEWS