diff options
| author | Nick Pope <nick.pope@flightdataservices.com> | 2017-12-07 14:10:32 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-12-07 09:10:32 -0500 |
| commit | c68f66e0144b69367e98692cba313251a36b85a8 (patch) | |
| tree | 27cc339cb832ed681e7845070e19afe68fc966d5 /django/utils/html.py | |
| parent | 9d1d0e2b702fe1a3f979a95bc4583f1a1691c74f (diff) | |
Refs #23919 -- Replaced super() calls for old-style classes.
Diffstat (limited to 'django/utils/html.py')
| -rw-r--r-- | django/utils/html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/html.py b/django/utils/html.py index 4fefbc6355..9c219ba1c6 100644 --- a/django/utils/html.py +++ b/django/utils/html.py @@ -136,7 +136,7 @@ def linebreaks(value, autoescape=False): class MLStripper(HTMLParser): def __init__(self): - HTMLParser.__init__(self, convert_charrefs=False) + super().__init__(convert_charrefs=False) self.reset() self.fed = [] |
