This is a development version (latest) and may be unstable.Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython latest / IPython / core / history / HistoryAccessor / close

function

IPython.core.history:HistoryAccessor.close

source: /IPython/core/history.py:426

Signature

def close(self) → None

Summary

Close the SQLite database connection.

Extended Summary

Prefer calling this to closing self.db directly: it gives subclasses (notably HistoryManager) a single place to hook in the rest of their teardown. Safe to call more than once.

Aliases

  • IPython.core.history.HistoryAccessor.close