New submission from Richard Neumann <r.neum...@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@python
components: Documentation
messages: 313431
nosy: Richard Neumann, docs@python
priority: normal
severity: normal
status: open
title: tempfile.TemporaryDirectory incorrectly documented
type: enhancement
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33028>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to