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 <[email protected]>
<http://bugs.python.org/issue18249>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com