MCPcopy Create free account
hub / github.com/bpython/bpython / _get_current_line

Method _get_current_line

bpython/urwid.py:694–697  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

692 self._redraw_time = now
693
694 def _get_current_line(self):
695 if self.edit is None:
696 return ""
697 return self.edit.get_edit_text()
698
699 def _set_current_line(self, line):
700 self.edit.set_edit_text(line)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected