New submission from Dave Angel:
Python 3.3.0 (default, Mar 7 2013, 00:24:38)
[GCC 4.6.3] on linux
q = open('/dev/null')
help(q.close)
the entire output is:
---
Help on built-in function close:
close(...)
(END)
---
But close() is NOT a
Christian Heimes added the comment:
In fact it is a built-in method without a doc string:
>>> f = open("/dev/null")
>>> f.close
>>> 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: +chri