Question about the wording in the python documents.

Sebastian Wiesner basti.wiesner at gmx.net
Sat May 2 07:14:30 EDT 2009


<Steven D'Aprano>
> I don't understand your objection. Is it that the documentation calls it
> Request instead of urllib2.Request? Or that it calls it an object instead
> of an instance?
I guess the latter ...

> In either case, I think you're picking a nit so small that it isn't
> actually there. All objects are instances (in Python), and all instances
> are objects.
Exactly, so strictly seen, "Request object" could possibly refer to the 
urllib2.Request class itself.  I guess, the OP would prefer the term 
"Request instance", emphasizing, that an instance of the request class has 
to be passed, not he class itself.

-- 
Freedom is always the freedom of dissenters.
                                      (Rosa Luxemburg)




More information about the Python-list mailing list