aboutsummaryrefslogtreecommitdiffstats
path: root/mop/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'mop/__init__.py')
-rw-r--r--mop/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mop/__init__.py b/mop/__init__.py
index a38e506..4d806d3 100644
--- a/mop/__init__.py
+++ b/mop/__init__.py
@@ -212,7 +212,7 @@ def bootstrap():
python_install_method(Attribute, method.get_name(), method)
def add_method(self, method):
- self.slots["methods"][method.get_name()] = method
+ self.get_local_methods()[method.get_name()] = method
Class.add_method(Method.new(name="add_method", body=add_method))
bootstrap()