diff options
author | Skip Montanaro <skip@pobox.com> | 2008-05-11 02:59:30 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2008-05-11 02:59:30 (GMT) |
commit | 79964cf64f8779a2eda9f7573388b1d086bda6eb (patch) | |
tree | b7d5141f8f0f3af3ab56227b0151652b381997e6 /Doc | |
parent | 7595c1a36bca73ddb8f80c4c7bac25015e7fae15 (diff) | |
download | cpython-79964cf64f8779a2eda9f7573388b1d086bda6eb.zip cpython-79964cf64f8779a2eda9f7573388b1d086bda6eb.tar.gz cpython-79964cf64f8779a2eda9f7573388b1d086bda6eb.tar.bz2 |
Copied two versions of the example from the interactive session. Delete
one.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/tempfile.rst | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst index b5682ae..5918081 100644 --- a/Doc/library/tempfile.rst +++ b/Doc/library/tempfile.rst @@ -171,11 +171,6 @@ The module defines the following user-callable functions: :func:`NamedTemporaryFile`, passing it the `delete=False` parameter:: >>> f = NamedTemporaryFile(delete=False) - >>> print f.name - >>> f.write("Hello World!\n") - >>> f.close() - >>> os.unlink(f.name) - >>> f = NamedTemporaryFile(delete=False) >>> f <open file '<fdopen>', mode 'w+b' at 0x384698> >>> f.name |