def writeTypes(self, fd):
print('<STR_LIT:#>'*<NUM_LIT:50>, file=fd)<EOL>print('<STR_LIT>' %self.getTypesModuleName(), file=fd)<EOL>print('<STR_LIT:#>', file=fd)<EOL>print('<STR_LIT>' %self.__class__, file=fd)<EOL>print('<STR_LIT>' %'<STR_LIT:U+0020>'.join(sys.argv), file=fd)<EOL>print('<STR_LIT:#>', file=fd)<EOL>print('<STR_LIT:#>'*<NUM_LIT:50>, file=fd)<EOL>print(TypesHeaderContainer(), file=fd)<EOL>self.gatherNamespaces()<EOL>for l in list(self.usedNamespaces.values()):<EOL><INDENT>sd = SchemaDescription(do_extended=self.do_extended, <EOL>extPyClasses=self.extPyClasses)<EOL>for schema in l:<EOL><INDENT>sd.fromSchema(schema)<EOL><DEDENT>sd.write(fd)<EOL><DEDENT>
write out types module to file descriptor.