Commit 6d18ab01 authored by Patrick Robertson's avatar Patrick Robertson Committed by Baptiste Mispelon
Browse files

Removed incorrect statement from docstring

The docstring of FilterExpression said that it shouldn't be
instantiated from anywhere but the get_filters_from_token
helper function.

However, that helper function was deleted in commit
3ede006f and FilterExpression
is instantiated from inside the compile_filter help function.
parent 072fb923
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -545,9 +545,6 @@ class FilterExpression(object):
        2
        >>> fe.var
        <Variable: 'variable'>

    This class should never be instantiated outside of the
    get_filters_from_token helper function.
    """
    def __init__(self, token, parser):
        self.token = token