From 6d18ab01d96dbc7da2fd8807b9d8422d9e9e0b7d Mon Sep 17 00:00:00 2001 From: Patrick Robertson Date: Wed, 19 Feb 2014 11:36:37 +0800 Subject: [PATCH] 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. --- django/template/base.py | 3 --- 1 file changed, 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 - - This class should never be instantiated outside of the - get_filters_from_token helper function. """ def __init__(self, token, parser): self.token = token