mirror of https://github.com/django/django.git
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
3ede006fc9
and FilterExpression
is instantiated from inside the compile_filter help function.
This commit is contained in:
parent
072fb923e1
commit
6d18ab01d9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue