summaryrefslogtreecommitdiffstats
path: root/Doc/library/nntplib.rst
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2013-02-23 18:37:01 (GMT)
committerPetri Lehtinen <petri@digip.org>2013-02-23 18:37:01 (GMT)
commit827b36bed8b03a9bfc52134f7b4b9981db00b2be (patch)
treece441e2cf9268e9ab07aeb2be61a5d3eb6d9eb6c /Doc/library/nntplib.rst
parente460f26b2582606faa7b64e5dc8643b560472f0d (diff)
parent3c75a48c860e81063c8034e9929ad092b43677ef (diff)
downloadcpython-827b36bed8b03a9bfc52134f7b4b9981db00b2be.zip
cpython-827b36bed8b03a9bfc52134f7b4b9981db00b2be.tar.gz
cpython-827b36bed8b03a9bfc52134f7b4b9981db00b2be.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 5977d2a..73b51c0 100644
--- a/Doc/library/nntplib.rst
+++ b/Doc/library/nntplib.rst
@@ -46,7 +46,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()