summaryrefslogtreecommitdiff
path: root/Doc/library/imghdr.rst
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2013-02-23 19:26:56 +0100
committerPetri Lehtinen <petri@digip.org>2013-02-23 19:27:49 +0100
commit9f74c6cf7d0fd6188194e7bba8f059843b9c3c89 (patch)
tree428d7473b21eb3eb0d728eab38c90490e455ec8b /Doc/library/imghdr.rst
parent8b945148e3f98b9c6c51bfaa830e779979713b82 (diff)
downloadcpython-git-9f74c6cf7d0fd6188194e7bba8f059843b9c3c89.tar.gz
Issue #8890: Stop advertising an insecure use of /tmp in docs
Diffstat (limited to 'Doc/library/imghdr.rst')
-rw-r--r--Doc/library/imghdr.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/imghdr.rst b/Doc/library/imghdr.rst
index 32ec9cfc2f..9e8952339c 100644
--- a/Doc/library/imghdr.rst
+++ b/Doc/library/imghdr.rst
@@ -65,6 +65,6 @@ to this variable:
Example::
>>> import imghdr
- >>> imghdr.what('/tmp/bass.gif')
+ >>> imghdr.what('bass.gif')
'gif'