commit | 9620cc04634e720d1d016cce4bf02e0c27607e64 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Jun 11 15:53:11 2011 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Jun 11 15:53:11 2011 -0500 |
tree | 2ec667b21d599bada69991c37907a65bb8398417 | |
parent | 9fbfe15c86a079f03f54b20106cdefa402325330 [diff] [blame] |
allow "fake" filenames in findsource (closes #9284) This allows findsource() to work in doctests. A patch from Dirkjan Ochtman.
diff --git a/Misc/NEWS b/Misc/NEWS index d3496b0..de1c531 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -22,6 +22,9 @@ 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.