[Python-3000] Adding __format__ to object

Eric Smith eric+python-dev at trueblade.com
Thu Aug 16 18:57:13 CEST 2007


Guido van Rossum wrote:
> Paul's right. I agree it's confusing that object and type are both
> defined in the same file (though there's probably a good reason, given
> that type is derived from object and object is an instance of type
> :-). To add methods to object, add them to object_methods in that
> file. I've tested this.

Awesome!  I thought I looked for all occurrences in that file, but 
apparently not.

Thanks all for the help.

Eric.



More information about the Python-3000 mailing list