[docs] [issue33894] tempfile.tempdir cannot be unset

Philip Rowlands report at bugs.python.org
Mon Jun 18 12:00:06 EDT 2018


Philip Rowlands <pythonbugs at dimebar.com> added the comment:

How about

- If tempdir is unset or None at any call to
+ If tempdir is None (the default) at any call to

This avoids headaches over the meaning of "unset", and accurately reflects the code at:
https://github.com/python/cpython/blob/3.6/Lib/tempfile.py#L289

----------

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


More information about the docs mailing list