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
3ede006 and FilterExpression
is instantiated from inside the compile_filter help function.
  • Loading branch information...
pjrobertson authored and bmispelon committed Feb 19, 2014
1 parent 072fb92 commit 6d18ab01d96dbc7da2fd8807b9d8422d9e9e0b7d
Showing with 0 additions and 3 deletions.
  1. +0 −3 django/template/
@@ -545,9 +545,6 @@ class FilterExpression(object):
>>> 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

0 comments on commit 6d18ab0

Please sign in to comment.