bundles / IPython latest / IPython / core / history / HistoryAccessor / close
function
IPython.core.history:HistoryAccessor.close
source: /IPython/core/history.py:426
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