By the way, I would also suggest the following syntax:

    class CustomFuzzy(whoosh.qparser.query.FuzzyTerm):
        """
        Custom fuzzy query parser
        """"
        def __init__(self, whatever):