[Tutor] Need help appending data to a logfile

Jim Mooney cybervigilante at gmail.com
Tue Jun 18 00:39:05 CEST 2013


> But in 3.3, it says:
> Help on built-in function close:
>
> close(...)
>
> with no more explanation.

Hmm, I thought close in 3.3 was a method of the file handle, not a
builtin function. Have I
missed something? I assume all builtin functions do not need an object
dot prefix, and close needs the file handle.

Nope. close() is not in the built-in function list:
http://docs.python.org/3/library/functions.html

We've caught them in a boo-boo ;')

Jim


More information about the Tutor mailing list