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@python components: Documentation messages: 299317 nosy: Thomas Thurman, docs@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 <rep...@bugs.python.org> <http://bugs.python.org/issue31057> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com