[docs] [issue32594] File object 'name' attribute inconsistent type and not obviously documented

Stéphane Wirtel report at bugs.python.org
Thu Jan 18 10:32:06 EST 2018


Stéphane Wirtel <stephane at wirtel.be> added the comment:

Maybe we could add in the documentation.

"""
if we use a file descriptor as the parameter, the name of the returned file object will be the file descriptor itself.
"""

----------

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


More information about the docs mailing list