bundles / IPython 9.17.0 / IPython / core / history / HistoryAccessor / close
function
IPython.core.history:HistoryAccessor.close
Signature
def close(self) → NoneSummary
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