Commit c8e32bb6 authored by Stefan Behnel's avatar Stefan Behnel

Add comment and make sure the type's (empty) list of index temps cannot be changed by accident.

parent 765dd499
...@@ -4237,7 +4237,8 @@ class BufferIndexNode(_IndexingBaseNode): ...@@ -4237,7 +4237,8 @@ class BufferIndexNode(_IndexingBaseNode):
# Whether we're assigning to a buffer (in that case it needs to be writable) # Whether we're assigning to a buffer (in that case it needs to be writable)
writable_needed = False writable_needed = False
index_temps = [] # Any indexing temp variables that we need to clean up.
index_temps = ()
def analyse_target_types(self, env): def analyse_target_types(self, env):
self.analyse_types(env, getting=False) self.analyse_types(env, getting=False)
......
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