diff options
author | Petri Lehtinen <petri@digip.org> | 2013-02-23 18:37:01 (GMT) |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2013-02-23 18:37:01 (GMT) |
commit | 827b36bed8b03a9bfc52134f7b4b9981db00b2be (patch) | |
tree | ce441e2cf9268e9ab07aeb2be61a5d3eb6d9eb6c /Doc/library/nntplib.rst | |
parent | e460f26b2582606faa7b64e5dc8643b560472f0d (diff) | |
parent | 3c75a48c860e81063c8034e9929ad092b43677ef (diff) | |
download | cpython-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.rst | 2 |
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() |