def raise_missing_global_error(self, name):
    msg = ("global name '%s' is not defined" % name)
    cstr = self.context.insert_const_string(self.module, msg)
    self.err_set_string('PyExc_NameError', cstr)
def raise_missing_global_error(self, name):
    msg = ("global name '%s' is not defined" % name)
    cstr = self.context.insert_const_string(self.module, msg)
    self.err_set_string('PyExc_NameError', cstr)