From 1c1ce31cdc317a3bdd44f31d9b7a28654c7d55e9 Mon Sep 17 00:00:00 2001 From: Sören Tempel Date: Mon, 24 May 2021 09:10:02 +0200 Subject: history: add docstring to History class --- saneterm/history.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/saneterm/history.py b/saneterm/history.py index 92f150d..8e54bd0 100644 --- a/saneterm/history.py +++ b/saneterm/history.py @@ -10,6 +10,10 @@ SIZE_ENV = "HISTSIZE" HISTORY_FN = "history.db" class History(): + """History provides a single database for storing line-based editing + histories on a per-executable basis. The current executable is + determined using tcgetpgrp(3) on a given file descriptior.""" + __schema = """ CREATE TABLE IF NOT EXISTS history (exe TEXT, entry TEXT) """ -- cgit 1.4.1