[docs] [issue18249] Incorrect and incomplete help docs for close() method

Christian Heimes report at bugs.python.org
Tue Jun 18 03:09:13 CEST 2013


Christian Heimes added the comment:

In fact it is a built-in method without a doc string:

>>> f = open("/dev/null")
>>> f.close
<built-in method close of _io.TextIOWrapper object at 0x7feefaab42f0>
>>> f.close.__doc__

All functions and methods that are implemented in C are referred to as built-in functions. It's an implementation detail.

----------
nosy: +christian.heimes
priority: normal -> low
type:  -> behavior
versions: +Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18249>
_______________________________________


More information about the docs mailing list