The logic in the filter class prevented private classes (those whose name starts with _) from being filtered, when exclude_private is set to true. I rearranged the checks from most specific (those for modules) to most generic to resolve this limitation.
The logic in the filter class prevented private classes (those whose name starts with
_
) from being filtered, whenexclude_private
is set to true. I rearranged the checks from most specific (those for modules) to most generic to resolve this limitation.