Commits

Carl Friedrich Bolz  committed 76afdfc

immutable

  • Participants
  • Parent commits eb955d5

Comments (0)

Files changed (1)

File prolog/interpreter/module.py

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