lib/__builtins__/str.py | raw changeset files shortlog |
1.1 --- a/lib/__builtins__/str.py Sun Nov 27 13:50:25 2016 +0100 1.2 +++ b/lib/__builtins__/str.py Sun Nov 27 13:51:38 2016 +0100 1.3 @@ -117,7 +117,7 @@ 1.4 # Classes do not provide __str__ directly. 1.5 1.6 if isclass(obj): 1.7 - return "<type>" 1.8 + return obj.__name__ 1.9 1.10 # Class attributes of instances provide __str__. 1.11