]> granicus.if.org Git - python/commit
allow "fake" filenames in findsource (closes #9284)
authorBenjamin Peterson <benjamin@python.org>
Sat, 11 Jun 2011 20:53:11 +0000 (15:53 -0500)
committerBenjamin Peterson <benjamin@python.org>
Sat, 11 Jun 2011 20:53:11 +0000 (15:53 -0500)
commit9620cc04634e720d1d016cce4bf02e0c27607e64
tree2ec667b21d599bada69991c37907a65bb8398417
parent9fbfe15c86a079f03f54b20106cdefa402325330
allow "fake" filenames in findsource (closes #9284)

This allows findsource() to work in doctests.

A patch from Dirkjan Ochtman.
Lib/inspect.py
Lib/test/test_inspect.py
Misc/NEWS