summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
Diffstat (limited to 'django')
-rw-r--r--django/template/defaultfilters.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/template/defaultfilters.py b/django/template/defaultfilters.py
index eba65e5ed9..dc7ba32e8e 100644
--- a/django/template/defaultfilters.py
+++ b/django/template/defaultfilters.py
@@ -246,8 +246,8 @@ def stringformat(value, arg):
This specifier uses Python string formating syntax, with the exception that
the leading "%" is dropped.
- See http://docs.python.org/lib/typesseq-strings.html for documentation
- of Python string formatting
+ See https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting
+ for documentation of Python string formatting.
"""
try:
return ("%" + six.text_type(arg)) % value