[Python-3000] A better way to initialize PyTypeObject

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Nov 30 01:34:37 CET 2006


Talin wrote:
> The "list" version, however, is considered an internal 
> method (since it's more specialized), and has the name ".tp_getitem".

Is there really a need for both the dot and the tp_
prefix? Just ".getitem" etc. ought to be sufficient.

--
Greg


More information about the Python-3000 mailing list