This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author DaveA
Recipients DaveA, docs@python
Date 2013-06-18.00:55:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371516910.55.0.109427807192.issue18249@psf.upfronthosting.co.za>
In-reply-to
Content
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 built-in, it's a method.

(In Python 2.7.*  the output is:

-------------------------------
Help on built-in function close:

close(...)
    close() -> None or (perhaps) an integer.  Close the file.
    
    Sets data attribute .closed to True.  A closed file cannot be used for
    further I/O operations.  close() may be called more than once without
    error.  Some kinds of file objects (for example, opened by popen())
    may return an exit status upon closing.
(END)
-------------------------------
which is only partially wrong.
History
Date User Action Args
2013-06-18 00:55:10DaveAsetrecipients: + DaveA, docs@python
2013-06-18 00:55:10DaveAsetmessageid: <1371516910.55.0.109427807192.issue18249@psf.upfronthosting.co.za>
2013-06-18 00:55:10DaveAlinkissue18249 messages
2013-06-18 00:55:09DaveAcreate