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

Method clear_current_line

bpython/repl.py:1192–1194  ·  view source on GitHub ↗

This is used as the exception callback for the Interpreter instance. It prevents autoindentation from occurring after a traceback.

(self)

Source from the content-addressed store, hash-verified

1190 return line_tokens
1191
1192 def clear_current_line(self) -> None:
1193 """This is used as the exception callback for the Interpreter instance.
1194 It prevents autoindentation from occurring after a traceback."""
1195
1196 def send_to_external_editor(self, text: str) -> str:
1197 """Returns modified text from an editor, or the original text if editor

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected