Lines Matching defs:ascii
487 fp.write("Package generated from %s\n"%ascii(fname))
489 fp.write("Resource %s resid %d %s\n"%(ascii(resinfo[1]), resinfo[0], ascii(resinfo[2])))
498 fp.write(" '%s' : %s,\n"%(ascii(code), modname))
502 fp.write(" '%s' : ('%s.%s', '%s'),\n"%(ascii(code), packagename, modname, modname))
652 fp.write('"""Suite %s: %s\n' % (ascii(name), ascii(desc)))
654 fp.write("Generated from %s\n"%ascii(fname))
743 fp.write(' """%s: %s\n'%(ascii(name), ascii(desc)))
976 self.fp.write(' """%s - %s """\n' % (ascii(name), ascii(desc)))
1003 self.fp.write(' """%s - %s """\n' % (ascii(name), ascii(what[1])))
1082 self.fp.write(' """%s - %s """\n' % (ascii(name), ascii(comment)))
1097 self.fp.write(" %r : %r,\t# %s\n" % (identify(name), code, ascii(desc)))
1104 self.fp.write("_Enum_%s = None # XXXX enum %s not found!!\n"%(identify(enum), ascii(enum)))
1159 return ascii(descr)
1177 def ascii(str):
1178 """Return a string with all non-ascii characters hex-encoded"""
1180 return map(ascii, str)