Index: tempfile.rst =================================================================== --- tempfile.rst (revision 74738) +++ tempfile.rst (working copy) @@ -131,7 +131,9 @@ :func:`mkstemp` returns a tuple containing an OS-level handle to an open file (as would be returned by :func:`os.open`) and the absolute pathname - of that file, in that order. + of that file, in that order. Remember to call ``os.close()`` on that open + file when it is not needed any more or you may risk getting IOError + exceptions (Too many open files). .. versionadded:: 2.3