lib/__builtins__/core.py | raw changeset files shortlog | method-wrapper-for-context |
1.1 --- a/lib/__builtins__/core.py Mon Feb 13 16:59:17 2017 +0100 1.2 +++ b/lib/__builtins__/core.py Mon Feb 13 17:52:59 2017 +0100 1.3 @@ -134,6 +134,14 @@ 1.4 self.__context__ = context 1.5 self.__value__ = value 1.6 1.7 + def __str__(self): 1.8 + 1.9 + "Return a string representation, referring to the wrapped object." 1.10 + 1.11 + return self.__value__.__str__() 1.12 + 1.13 + __repr__ = __str__ 1.14 + 1.15 class Exception: 1.16 1.17 "The root of all exception types."