summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-06-08 03:14:26 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-06-08 03:14:26 (GMT)
commit75a55c32759c66cac479e6b9faf10e836e00f0d6 (patch)
tree6b1440a33c8688e029dd9cbcf524ee5ab4f49ae2 /Misc
parent7e1eb5c713c6b14e5c71155f206d37cc16541300 (diff)
downloadcpython-75a55c32759c66cac479e6b9faf10e836e00f0d6.zip
cpython-75a55c32759c66cac479e6b9faf10e836e00f0d6.tar.gz
cpython-75a55c32759c66cac479e6b9faf10e836e00f0d6.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 155811e..e3827bb 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -28,6 +28,9 @@ Library
- Issue #21304: Backport the key derivation function hashlib.pbkdf2_hmac from
Python 3 per PEP 466.
+- Issue #11709: Fix the pydoc.help function to not fail when sys.stdin is not a
+ valid file.
+
- Issue #13223: Fix pydoc.writedoc so that the HTML documentation for methods
that use 'self' in the example code is generated correctly.