Show More
@@ -35,6 +35,10 b' class sortdict(dict):' | |||||
35 | def __delitem__(self, key): |
|
35 | def __delitem__(self, key): | |
36 | dict.__delitem__(self, key) |
|
36 | dict.__delitem__(self, key) | |
37 | self._list.remove(key) |
|
37 | self._list.remove(key) | |
|
38 | def keys(self): | |||
|
39 | return self._list | |||
|
40 | def iterkeys(self): | |||
|
41 | return self._list.__iter__() | |||
38 |
|
42 | |||
39 | class config(object): |
|
43 | class config(object): | |
40 | def __init__(self, data=None): |
|
44 | def __init__(self, data=None): |
General Comments 0
You need to be logged in to leave comments.
Login now