Commit a47c9c23 authored by Carl Friedrich Bolz's avatar Carl Friedrich Bolz

Evaluation._number_of_arguments is immutable

parent 0d3f02ed
......@@ -28,6 +28,7 @@ class Block(Object):
return self.NUMBER_OF_BLOCK_FIELDS
class Evaluation(Primitive):
_immutable_fields_ = ['_number_of_arguments']
def __init__(self, num_args, universe, invoke):
Primitive.__init__(self, self._compute_signature_string(num_args),
universe, invoke)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment