Changeset 5303:e4c8b02439b4 in livinglogic.python.xist

Show
Ignore:
Timestamp:
01/26/13 16:45:58 (7 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Remove automatic self variable.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/ul4c.py

    r5294 r5303  
    32993299            v.append("\t\tyield\n") 
    33003300            v.append("\ttry:\n") 
    3301             v.append("\t\tallvars = ul4c._AllVars(vars, self.functions, {'self': self})\n") 
     3301            v.append("\t\tallvars = ul4c._AllVars(vars, self.functions)\n") 
    33023302            for node in self.content: 
    33033303                v.append(node.formatpython(2, self._keepws)) 
     
    34333433            v.append("\tfrom ll import ul4c, misc, color\n") 
    34343434            v.append("\ttry:\n") 
    3435             v.append("\t\tallvars = ul4c._AllVars(vars, self.functions, {'self': self})\n") 
     3435            v.append("\t\tallvars = ul4c._AllVars(vars, self.functions)\n") 
    34363436            for node in self.content: 
    34373437                v.append(node.formatpython(2, self._keepws))