commit | a4cb78874ce31bef1a4c05bd5bace387bc5bb677 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Sep 25 03:56:29 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Sep 25 03:56:29 2001 +0000 |
tree | 693cfdc4e8d4fc477c10a6a9dd59cbe216b99e62 | |
parent | 5c294fb0e634afc4807ca83032ace356512c97dc [diff] |
Change repr() of a new-style class to say <class 'ClassName'> rather than <type 'ClassName'>. Exception: if it's a built-in type or an extension type, continue to call it <type 'ClassName>. Call me a wimp, but I don't want to break more user code than necessary.