diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-06-11 20:53:11 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-06-11 20:53:11 (GMT) |
commit | 9620cc04634e720d1d016cce4bf02e0c27607e64 (patch) | |
tree | 2ec667b21d599bada69991c37907a65bb8398417 /Misc | |
parent | 9fbfe15c86a079f03f54b20106cdefa402325330 (diff) | |
download | cpython-9620cc04634e720d1d016cce4bf02e0c27607e64.zip cpython-9620cc04634e720d1d016cce4bf02e0c27607e64.tar.gz cpython-9620cc04634e720d1d016cce4bf02e0c27607e64.tar.bz2 |
allow "fake" filenames in findsource (closes #9284)
This allows findsource() to work in doctests.
A patch from Dirkjan Ochtman.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -22,6 +22,9 @@ Core and Builtins Library ------- +- Issue #9284: Allow inspect.findsource() to find the source of doctest + functions. + - Issue #12009: Fixed regression in netrc file comment handling. - Issue #10694: zipfile now ignores garbage at the end of a zipfile. |