Lines Matching refs:stdout
79 def __init__(self, completekey='tab', stdin=None, stdout=None):
85 is done automatically. The optional arguments stdin and stdout
87 sys.stdin and sys.stdout are used.
95 if stdout is not None:
96 self.stdout = stdout
98 self.stdout = sys.stdout
122 self.stdout.write(str(self.intro)+"\n")
134 self.stdout.write(self.prompt)
135 self.stdout.flush()
240 self.stdout.write('*** Unknown syntax: %s\n'%line)
306 self.stdout.write("%s\n"%str(doc))
310 self.stdout.write("%s\n"%str(self.nohelp % (arg,)))
337 self.stdout.write("%s\n"%str(self.doc_leader))
344 self.stdout.write("%s\n"%str(header))
346 self.stdout.write("%s\n"%str(self.ruler * len(header)))
348 self.stdout.write("\n")
357 self.stdout.write("<empty>\n")
366 self.stdout.write('%s\n'%str(list[0]))
404 self.stdout.write("%s\n"%str(" ".join(texts)))