diff options
| author | Patrick Robertson <robertson.patrick@gmail.com> | 2014-02-19 11:36:37 +0800 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2014-02-23 12:33:29 +0100 |
| commit | 6d18ab01d96dbc7da2fd8807b9d8422d9e9e0b7d (patch) | |
| tree | 0976baff46914ce9f06f2ed802222e6eaa127b89 | |
| parent | 072fb923e1b2e39e85a4ed4569ee7cd94f26a0bb (diff) | |
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
3ede006fc98f7e96ae9fb997872f78635576d5f8 and FilterExpression
is instantiated from inside the compile_filter help function.
| -rw-r--r-- | django/template/base.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/django/template/base.py b/django/template/base.py index e05395490e..f9a3ea6682 100644 --- a/django/template/base.py +++ b/django/template/base.py @@ -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 |
