]> 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)
commit159824ea2a1872dadef69a229fb294c571d2ac73
tree6796bae35982004fb1932a2f93bd97a36fdfcccd
parent96e0430dfb36c5fa336684601bf271b0ce43e367
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