浏览代码

Removed obsolete comment in if tag.

The double equals operator was removed in
2ccfac1a651ff35cd243cd272b2202ae1ccd5740.
Stephen Kelly 9 年之前
父节点
当前提交
2956e2f5e3
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      django/template/smartif.py

+ 0 - 2
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 = {