diff options
author | Vytis Banaitis <vytis.banaitis@gmail.com> | 2017-01-20 23:04:05 +0200 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2017-01-26 08:19:27 -0500 |
commit | d1bab24e0144d14513a1411503c95ececb425188 (patch) | |
tree | 187452bf7b66a9600abc47570ccae22e6d539ede /django/core/validators.py | |
parent | 888c1e9bfe49135d049cbdcbbb0f2e97a1a0a1f5 (diff) | |
download | django-d1bab24e0144d14513a1411503c95ececb425188.tar.gz |
Refs #23919, #27778 -- Removed obsolete mentions of unicode.
Diffstat (limited to 'django/core/validators.py')
-rw-r--r-- | django/core/validators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/validators.py b/django/core/validators.py index 0b90b4345c..732bcae486 100644 --- a/django/core/validators.py +++ b/django/core/validators.py @@ -71,7 +71,7 @@ class RegexValidator: @deconstructible class URLValidator(RegexValidator): - ul = '\u00a1-\uffff' # unicode letters range (must be a unicode string, not a raw string) + ul = '\u00a1-\uffff' # unicode letters range (must not be a raw string) # IP patterns ipv4_re = r'(?:25[0-5]|2[0-4]\d|[0-1]?\d?\d)(?:\.(?:25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}' |