MCPcopy Index your code
hub / github.com/bpython/bpython / getstdout

Method getstdout

bpython/urwid.py:859–863  ·  view source on GitHub ↗

This method returns the 'spoofed' stdout buffer, for writing to a file or sending to a pastebin or whatever.

(self)

Source from the content-addressed store, hash-verified

857 edit.set_edit_markup(list(format_tokens(tokens)))
858
859 def getstdout(self):
860 """This method returns the 'spoofed' stdout buffer, for writing to a
861 file or sending to a pastebin or whatever."""
862
863 return self.stdout_hist + "\n"
864
865 def ask_confirmation(self, q):
866 """Ask for yes or no and return boolean"""

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected