summaryrefslogtreecommitdiff
path: root/yaksh/language_registry.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/language_registry.py')
-rw-r--r--yaksh/language_registry.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/language_registry.py b/yaksh/language_registry.py
index 512e2f5..3205279 100644
--- a/yaksh/language_registry.py
+++ b/yaksh/language_registry.py
@@ -48,7 +48,7 @@ class _LanguageRegistry(object):
get_class = getattr(get_module, class_name)
return get_class
- def register(self, language, class_name):
+ def register(self, language, class_names):
""" Register a new code evaluator class for language"""
- self._register[language] = class_name
+ self._register[language] = class_names