summaryrefslogtreecommitdiffstats
path: root/Doc/library/nntplib.rst
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2013-02-23 18:34:15 (GMT)
committerPetri Lehtinen <petri@digip.org>2013-02-23 18:34:44 (GMT)
commit3c75a48c860e81063c8034e9929ad092b43677ef (patch)
tree8d3346669fa18da2b8db0360e5257d5149da9a93 /Doc/library/nntplib.rst
parentf484efdb60cf97d04eed4f87f838ad27e1ed241f (diff)
parent9f74c6cf7d0fd6188194e7bba8f059843b9c3c89 (diff)
downloadcpython-3c75a48c860e81063c8034e9929ad092b43677ef.zip
cpython-3c75a48c860e81063c8034e9929ad092b43677ef.tar.gz
cpython-3c75a48c860e81063c8034e9929ad092b43677ef.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 87a50b0..1d1aa40 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()