1.1 --- a/lib/__builtins__/core.py Mon Nov 28 23:51:45 2016 +0100
1.2 +++ b/lib/__builtins__/core.py Tue Nov 29 00:47:19 2016 +0100
1.3 @@ -97,13 +97,21 @@
1.4
1.5 __repr__ = __str__
1.6
1.7 -class type(object):
1.8 +class type:
1.9
1.10 - "The class of all classes."
1.11 + """
1.12 + The class of all classes. Methods of this class do not treat contexts as
1.13 + instances, even though classes are meant to be instances of this class.
1.14 + Instead, contexts are either classes or instances.
1.15 + """
1.16
1.17 - # __str__ and __repr__ are handled by str and repr for classes.
1.18 + def __str__(self):
1.19 +
1.20 + "Return a string representation."
1.21
1.22 - pass
1.23 + return self.__name__
1.24 +
1.25 + __repr__ = __str__
1.26
1.27 class BaseException:
1.28