]> granicus.if.org Git - python/commit
Fix to ensure consistent 'repr' and 'str' results between Python
authorSteve Purcell <steve@pythonconsulting.com>
Fri, 9 Aug 2002 09:46:23 +0000 (09:46 +0000)
committerSteve Purcell <steve@pythonconsulting.com>
Fri, 9 Aug 2002 09:46:23 +0000 (09:46 +0000)
commitdc391a67e39df5f23d62d50b4cdb74728c24684e
tree4d835d4a23ad0de5b58ba37cfb9bbd14c0f5b674
parenta70ab8cd4f6f4475b42cee5419ac6018d1ca7a01
Fix to ensure consistent 'repr' and 'str' results between Python
versions, since 'repr(new_style_class) != repr(classic_class)'.
Suggested by Jeremy Hylton.
Lib/unittest.py