Browse Source

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.
Patrick Robertson 11 years ago
parent
commit
6d18ab01d9
1 changed files with 0 additions and 3 deletions
  1. 0 3
      django/template/base.py

+ 0 - 3
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