summaryrefslogtreecommitdiffstats
path: root/Doc/library/nntplib.rst
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2013-02-23 18:26:56 (GMT)
committerPetri Lehtinen <petri@digip.org>2013-02-23 18:27:49 (GMT)
commit9f74c6cf7d0fd6188194e7bba8f059843b9c3c89 (patch)
tree428d7473b21eb3eb0d728eab38c90490e455ec8b /Doc/library/nntplib.rst
parent8b945148e3f98b9c6c51bfaa830e779979713b82 (diff)
downloadcpython-9f74c6cf7d0fd6188194e7bba8f059843b9c3c89.zip
cpython-9f74c6cf7d0fd6188194e7bba8f059843b9c3c89.tar.gz
cpython-9f74c6cf7d0fd6188194e7bba8f059843b9c3c89.tar.bz2
Issue #8890: Stop advertising an insecure use of /tmp in docs
Diffstat (limited to 'Doc/library/nntplib.rst')
-rw-r--r--Doc/library/nntplib.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/nntplib.rst b/Doc/library/nntplib.rst
index 247efb7..ef8b9b5 100644
--- a/Doc/library/nntplib.rst
+++ b/Doc/library/nntplib.rst
@@ -47,7 +47,7 @@ To post an article from a binary file (this assumes that the article has valid
headers, and that you have right to post on the particular newsgroup)::
>>> s = nntplib.NNTP('news.gmane.org')
- >>> f = open('/tmp/article.txt', 'rb')
+ >>> f = open('article.txt', 'rb')
>>> s.post(f)
'240 Article posted successfully.'
>>> s.quit()