mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
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:
committed by
Baptiste Mispelon
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
|
||||
|
||||
Reference in New Issue
Block a user