MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / save_history

Function save_history

python/pythonmonkey/cli/pmjs.py:174–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172 inner_loop = False
173
174 def save_history():
175 nonlocal histfile
176 readline.write_history_file(histfile)
177
178 import atexit
179 atexit.register(save_history)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected