[Python-Dev] Adding __format__ to classic classes
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Feb 14 23:36:38 CET 2008
More information about the Python-Dev mailing list
Thu Feb 14 23:36:38 CET 2008
- Previous message: [Python-Dev] Adding __format__ to classic classes
- Next message: [Python-Dev] Adding __format__ to classic classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Eric Smith wrote: > Are you saying I should call _PyType_Lookup first? No, I think he's saying that you don't need to call _PyType_Lookup at all, because anything that it could find will also be found by PyObject_GetAttr. So just call PyObject_GetAttr and it should Just Work. -- Greg
- Previous message: [Python-Dev] Adding __format__ to classic classes
- Next message: [Python-Dev] Adding __format__ to classic classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list