diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-11-01 13:38:22 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-11-01 13:38:22 -0400 |
commit | e0b55720b049c12b3d988614a202fa52b370bea9 (patch) | |
tree | d9921fa918ee2630384d37fd45188bda6793b95f /mop | |
parent | 84f33f5a79ad489873aa2da9ec3b480ba18fef25 (diff) | |
download | python-mop-e0b55720b049c12b3d988614a202fa52b370bea9.tar.gz python-mop-e0b55720b049c12b3d988614a202fa52b370bea9.zip |
call hash(), not __hash__()
Diffstat (limited to 'mop')
-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() |