Lines Matching refs:stdout
76 def __init__(self, completekey='tab', stdin=None, stdout=None):
82 is done automatically. The optional arguments stdin and stdout
84 sys.stdin and sys.stdout are used.
91 if stdout is not None:
92 self.stdout = stdout
94 self.stdout = sys.stdout
118 self.stdout.write(str(self.intro)+"\n")
130 self.stdout.write(self.prompt)
131 self.stdout.flush()
236 self.stdout.write('*** Unknown syntax: %s\n'%line)
302 self.stdout.write("%s\n"%str(doc))
306 self.stdout.write("%s\n"%str(self.nohelp % (arg,)))
333 self.stdout.write("%s\n"%str(self.doc_leader))
340 self.stdout.write("%s\n"%str(header))
342 self.stdout.write("%s\n"%str(self.ruler * len(header)))
344 self.stdout.write("\n")
353 self.stdout.write("<empty>\n")
363 self.stdout.write('%s\n'%str(list[0]))
401 self.stdout.write("%s\n"%str(" ".join(texts)))