Ejemplo n.º 1
0
 def set_context(self, ctx):
     if ctx == ast.Store:
         misc.check_forbidden_name(self.id, self)
     self.ctx = ctx
Ejemplo n.º 2
0
 def set_context(self, ctx):
     if ctx == ast.Store:
         misc.check_forbidden_name(self.id, self)
     self.ctx = ctx
Ejemplo n.º 3
0
 def set_context(self, space, ctx):
     if ctx == ast.Store:
         misc.check_forbidden_name(space, self.attr, self)
     self.ctx = ctx