[docs] [issue14515] tempfile.TemporaryDirectory documented as returning object but returns name

R. David Murray report at bugs.python.org
Wed Apr 11 19:48:07 CEST 2012

R. David Murray <rdmurray at bitdance.com> added the comment:

I misread the docs.  They aren't wrong, but it is still the case that they don't mention that the directory name is what you get on entry to the context, which is what led to my confusion.  

Here's a patch.

keywords: +patch
nosy: +ncoghlan
Added file: http://bugs.python.org/file25179/tempdir-doc.patch

Python tracker <report at bugs.python.org>

More information about the docs mailing list