summaryrefslogtreecommitdiffstats
path: root/Doc/library/pipes.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/pipes.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/pipes.rst')
-rw-r--r--Doc/library/pipes.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/pipes.rst b/Doc/library/pipes.rst
index 016a720..69e891d 100644
--- a/Doc/library/pipes.rst
+++ b/Doc/library/pipes.rst
@@ -26,12 +26,12 @@ The :mod:`pipes` module defines the following class:
Example::
>>> import pipes
- >>> t=pipes.Template()
+ >>> t = pipes.Template()
>>> t.append('tr a-z A-Z', '--')
- >>> f=t.open('/tmp/1', 'w')
+ >>> f = t.open('pipefile', 'w')
>>> f.write('hello world')
>>> f.close()
- >>> open('/tmp/1').read()
+ >>> open('pipefile').read()
'HELLO WORLD'