summaryrefslogtreecommitdiff
path: root/django/template/base.py
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-08-01 12:55:53 -0400
committerTim Graham <timograham@gmail.com>2018-08-01 16:09:22 -0400
commit97e637a87fb45c4de970cca6cb783d93473c9d15 (patch)
treef2bc4b9a102aa1277005ee469b6f7e390c925c8d /django/template/base.py
parent4263cd0e095c55a1011e5bf0746d651126a8da5f (diff)
Fixed typos in comments and docs.
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)