diff options
Diffstat (limited to 'Doc/library/tempfile.rst')
-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 |