Commits

Carl Friedrich Bolz committed 219984e

module's names can't change

Comments (0)

Files changed (1)

prolog/interpreter/module.py

 
 
 class Module(object):
+    _immutable_fields_ = ["name", "nameatom"]
     def __init__(self, name):
         self.name = name
         self.nameatom = Atom(name)