[docs] [issue33028] tempfile.TemporaryDirectory incorrectly documented

Richard Neumann report at bugs.python.org
Thu Mar 8 05:01:02 EST 2018


New submission from Richard Neumann <r.neumann at homeinfo.de>:

The tempfile.TemporaryDirectory is incorrectly documented at https://docs.python.org/3.6/library/tempfile.html#tempfile.TemporaryDirectory.

It is described as a function, though actually being a class (unlinke tempfile.NamedTemporaryFile).
The respective property "name" and method "cleanup" are only documented in the continuous text but not explicitely highlighted as the properties and method of e.g. TarFile (https://docs.python.org/3/library/tarfile.html#tarfile-objects).

----------
assignee: docs at python
components: Documentation
messages: 313431
nosy: Richard Neumann, docs at python
priority: normal
severity: normal
status: open
title: tempfile.TemporaryDirectory incorrectly documented
type: enhancement
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33028>
_______________________________________


More information about the docs mailing list