Chris Angelico wrote:
At the moment, it isn't defined particularly as either a function or a
class,

Well, it's listed under a section called "Functions", so the reader
could be forgiven for assuming that it's a function. From a high
level point of view, it is -- you call it and it returns something.
Concretely, it happens to be implemented as a class, but that's not
something you need to know in order to use it, so the docs don't
mention it.

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to