Lichen

Change of lib/__builtins__/str.py

274:5be8a7aa0f86
lib/__builtins__/str.py
     1.1 --- a/lib/__builtins__/str.py	Mon Nov 28 23:51:45 2016 +0100
     1.2 +++ b/lib/__builtins__/str.py	Tue Nov 29 00:47:19 2016 +0100
     1.3 @@ -114,14 +114,8 @@
     1.4  
     1.5      "Return the string representation of 'obj'."
     1.6  
     1.7 -    # Classes do not provide __str__ directly.
     1.8 -
     1.9 -    if isclass(obj):
    1.10 -        return obj.__name__
    1.11 -
    1.12      # Class attributes of instances provide __str__.
    1.13  
    1.14 -    else:
    1.15 -        return obj.__str__()
    1.16 +    return obj.__str__()
    1.17  
    1.18  # vim: tabstop=4 expandtab shiftwidth=4