1.1 --- a/lib/__builtins__/core.py Sun Feb 12 23:24:42 2017 +0100
1.2 +++ b/lib/__builtins__/core.py Mon Feb 13 15:35:36 2017 +0100
1.3 @@ -86,6 +86,7 @@
1.4 self.__args__ = None
1.5 self.__name__ = None
1.6 self.__parent__ = None
1.7 + self.__context__ = None
1.8
1.9 def __bool__(self):
1.10
1.11 @@ -122,6 +123,17 @@
1.12
1.13 __repr__ = __str__
1.14
1.15 +class wrapper:
1.16 +
1.17 + "A special method wrapper."
1.18 +
1.19 + def __init__(self, context, value):
1.20 +
1.21 + "Initialise a wrapper with the given 'context' and wrapped 'value'."
1.22 +
1.23 + self.__context__ = context
1.24 + self.__value__ = value
1.25 +
1.26 class Exception:
1.27
1.28 "The root of all exception types."