From 79964cf64f8779a2eda9f7573388b1d086bda6eb Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Sun, 11 May 2008 02:59:30 +0000 Subject: Copied two versions of the example from the interactive session. Delete one. --- Doc/library/tempfile.rst | 5 ----- 1 file changed, 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 ', mode 'w+b' at 0x384698> >>> f.name -- cgit v0.12