micropython/inspect.py | raw changeset files shortlog |
1.1 --- a/micropython/inspect.py Tue Nov 06 00:16:26 2012 +0100 1.2 +++ b/micropython/inspect.py Mon Nov 12 23:55:42 2012 +0100 1.3 @@ -488,6 +488,8 @@ 1.4 1.5 return (self.namespaces[-1:] or [self])[0] 1.6 1.7 + get_unit = get_namespace # compatibility method for error handling 1.8 + 1.9 def use_name(self, name, node=None, value=None, ns=None): 1.10 1.11 """