summaryrefslogtreecommitdiffstats
path: root/Doc/library/pipes.rst
diff options
context:
space:
mode:
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'