From 2956e2f5e3f63d279f5dae2a995265364d3e6db1 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 7 Apr 2016 23:57:55 +0200 Subject: [PATCH] Removed obsolete comment in if tag. The double equals operator was removed in 2ccfac1a651ff35cd243cd272b2202ae1ccd5740. --- django/template/smartif.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/django/template/smartif.py b/django/template/smartif.py index 1433a8499a..718c457c60 100644 --- a/django/template/smartif.py +++ b/django/template/smartif.py @@ -88,8 +88,6 @@ def prefix(bp, func): # Operator precedence follows Python. -# NB - we can get slightly more accurate syntax error messages by not using the -# same object for '==' and '='. # We defer variable evaluation to the lambda to ensure that terms are # lazily evaluated using Python's boolean parsing logic. OPERATORS = {