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

Method open_in_external_editor

bpython/repl.py:1213–1216  ·  view source on GitHub ↗
(self, filename)

Source from the content-addressed store, hash-verified

1211 return text
1212
1213 def open_in_external_editor(self, filename):
1214 editor_args = shlex.split(self.config.editor)
1215 args = editor_args + [filename]
1216 return subprocess.call(args) == 0
1217
1218 def edit_config(self):
1219 if self.config.config_path is None:

Callers 1

edit_configMethod · 0.95

Calls 1

callMethod · 0.80

Tested by

no test coverage detected