Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed Python 3.4 test failure.

  • Loading branch information...
commit 45ef4baf5cb018acba16c269e3d470ee1de146e0 1 parent ab4c96c
Tim Graham timgraham authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/utils/html_parser.py
4 django/utils/html_parser.py
View
@@ -20,8 +20,8 @@ class HTMLParser(_html_parser.HTMLParser):
it at call time because Python 2.7 does not have the keyword
argument.
"""
- def __init__(self, convert_charrefs=False):
- _html_parser.HTMLParser.__init__(self, convert_charrefs=convert_charrefs)
+ def __init__(self, convert_charrefs=False, **kwargs):
+ _html_parser.HTMLParser.__init__(self, convert_charrefs=convert_charrefs, **kwargs)
else:
HTMLParser = _html_parser.HTMLParser
else:
Please sign in to comment.
Something went wrong with that request. Please try again.