]> granicus.if.org Git - python/commit
make sure the builtin help function doesn't fail when sys.stdin is not a valid file...
authorBenjamin Peterson <benjamin@python.org>
Sun, 8 Jun 2014 03:14:26 +0000 (20:14 -0700)
committerBenjamin Peterson <benjamin@python.org>
Sun, 8 Jun 2014 03:14:26 +0000 (20:14 -0700)
commit75a55c32759c66cac479e6b9faf10e836e00f0d6
tree6b1440a33c8688e029dd9cbcf524ee5ab4f49ae2
parent7e1eb5c713c6b14e5c71155f206d37cc16541300
make sure the builtin help function doesn't fail when sys.stdin is not a valid file (closes #11709)

Original patch by Amaury Forgeot d'Arc with a test by bdettmer.
Lib/pydoc.py
Lib/test/test_pydoc.py
Misc/NEWS