def add_global(self, name):
        name = self.mangle(name)
        if name in self.uses or self.defs in name:
            pass # XXX warn about global following def/use
        if name in self.params:
            raise SyntaxError, "%s in %s is global and parameter" % \
                  (name, self.name)
        self.globals[name] = 1
        self.module.add_def(name)
dataset/ETHPy150Open anandology/pyjamas/pgen/lib2to3/compiler/symbols.py/Scope.add_global/swapped operands of `in`