[docs] [issue31057] pydoc for tempfile.TemporaryDirectory should say it returns the name
Thomas Thurman
report at bugs.python.org
Thu Jul 27 11:05:53 EDT 2017
New submission from Thomas Thurman:
Currently the pydoc for tempfile.TemporaryDirectory begins
"Create and return a temporary directory."
It doesn't explain anywhere *what* it returns (in fact, it returns the name of the directory as a string). The return type is further obscured by TemporaryDirectory being a context manager.
----------
assignee: docs at python
components: Documentation
messages: 299317
nosy: Thomas Thurman, docs at python
priority: normal
severity: normal
status: open
title: pydoc for tempfile.TemporaryDirectory should say it returns the name
type: enhancement
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31057>
_______________________________________
More information about the docs
mailing list