]> granicus.if.org Git - python/commit
Close #19330 by using public classes in contextlib
authorNick Coghlan <ncoghlan@gmail.com>
Sat, 26 Oct 2013 08:08:15 +0000 (18:08 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Sat, 26 Oct 2013 08:08:15 +0000 (18:08 +1000)
commit059def58a5201d4626396ad39cc885645235b959
tree2f8b43b7161499ab23f2be2ec5454c739e0bf768
parent9eabac68a30428704754f7cf2b28a61e94e9d654
Close #19330 by using public classes in contextlib

- added test cases to ensure docstrings are reasonable
- also updates various comments in contextlib for accuracy
- identifed #19404 as an issue making it difficult to provide
  good help output on generator based context manager instances
Lib/contextlib.py
Lib/test/test_contextlib.py
Misc/NEWS