diff options
Diffstat (limited to 'Demo/metaclasses/Meta.py')
-rw-r--r-- | Demo/metaclasses/Meta.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/metaclasses/Meta.py b/Demo/metaclasses/Meta.py index 771205c..39cbef6 100644 --- a/Demo/metaclasses/Meta.py +++ b/Demo/metaclasses/Meta.py @@ -30,7 +30,7 @@ class MetaHelper: except AttributeError: try: ga = self.__formalclass__.__getattr__('__usergetattr__') - except KeyError: + except (KeyError, AttributeError): raise AttributeError, name return ga(self, name) if type(raw) != types.FunctionType: |