Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Fixed bug in specialdict.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bystroushaak committed Feb 18, 2017
1 parent 8a1f2b5 commit 4756f93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Changelog
=========

2.2.1
2.2.2
-----
- Attempt to fix strange recursive inheritance problem.

Expand Down
6 changes: 4 additions & 2 deletions src/dhtmlparser/specialdict.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ class SpecialDict(OrderedDict):
def __init__(self, *args, **kwargs):
# lower_key -> key mapping
self._case = OrderedDict()
self._super = super(SpecialDict, self)

self._super.__init__(*args, **kwargs)

@property
def _super(self):
return super(SpecialDict, self)

def __setitem__(self, key, value):
lower_key = _lower_if_str(key)

Expand Down

0 comments on commit 4756f93

Please sign in to comment.