summaryrefslogtreecommitdiff
path: root/django/template/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/template/base.py')
-rw-r--r--django/template/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/base.py b/django/template/base.py
index f6a60ecdf7..9f4fe3363d 100644
--- a/django/template/base.py
+++ b/django/template/base.py
@@ -760,7 +760,7 @@ class Variable:
# catching. Since this should only happen at compile time, that's
# probably OK.
- # Try to interpret values containg a period or an 'e'/'E'
+ # Try to interpret values containing a period or an 'e'/'E'
# (possibly scientific notation) as a float; otherwise, try int.
if '.' in var or 'e' in var.lower():
self.literal = float(var)