X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=logical_search.py;h=b55e68901501ad2e68a7f45df034866072c3f61b;hb=e8fbbb7306430478dec55d2c963eed116d8330cc;hp=76c2f86264be3fc49960166fe7a1b702f90e6c4b;hpb=0d63d44ac89aab38fe95f36497adaf95110ab949;p=python_utils.git diff --git a/logical_search.py b/logical_search.py index 76c2f86..b55e689 100644 --- a/logical_search.py +++ b/logical_search.py @@ -1,5 +1,9 @@ #!/usr/bin/env python3 +"""This is a module concerned with the creation of and searching of a +corpus of documents. The corpus is held in memory for fast +searching.""" + from __future__ import annotations import enum @@ -12,6 +16,7 @@ class ParseError(Exception): """An error encountered while parsing a logical search expression.""" def __init__(self, message: str): + super().__init__() self.message = message