diff options
Diffstat (limited to 'mop/__init__.py')
-rw-r--r-- | mop/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mop/__init__.py b/mop/__init__.py index b75fd67..5df6ab8 100644 --- a/mop/__init__.py +++ b/mop/__init__.py @@ -21,7 +21,7 @@ def execute_method(body, invocant, args, kwargs): # our mop infrastructure UNDERLYING_CLASSES = {} def python_class_for(c, name=None): - key = c.__hash__() + key = hash(c) if key not in UNDERLYING_CLASSES.keys(): if name is None: name = c.name() |