Fixed django/utils/http.py comment typo.

This commit is contained in:
Tim Graham 2017-01-19 13:21:54 -05:00
parent 9d27478958
commit d29fd3f9a6
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ def base36_to_int(s):
input won't fit into an int. input won't fit into an int.
""" """
# To prevent overconsumption of server resources, reject any # To prevent overconsumption of server resources, reject any
# base36 string that is long than 13 base36 digits (13 digits # base36 string that is longer than 13 base36 digits (13 digits
# is sufficient to base36-encode any 64-bit integer) # is sufficient to base36-encode any 64-bit integer)
if len(s) > 13: if len(s) > 13:
raise ValueError("Base36 input too large") raise ValueError("Base36 input too large")