diff options
Diffstat (limited to 'cython')
| -rw-r--r-- | cython/plist.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cython/plist.pyx b/cython/plist.pyx index 8029995..b5f4ef6 100644 --- a/cython/plist.pyx +++ b/cython/plist.pyx | |||
| @@ -718,7 +718,7 @@ cdef class Dict(Node): | |||
| 718 | 718 | ||
| 719 | def __delitem__(self, key): | 719 | def __delitem__(self, key): |
| 720 | cpython.PyDict_DelItem(self._map, key) | 720 | cpython.PyDict_DelItem(self._map, key) |
| 721 | plist_dict_remove_item(self._c_node, key) | 721 | plist_dict_remove_item(self._c_node, key.encode('utf-8')) |
| 722 | 722 | ||
| 723 | cdef Dict Dict_factory(plist_t c_node, bint managed=True): | 723 | cdef Dict Dict_factory(plist_t c_node, bint managed=True): |
| 724 | cdef Dict instance = Dict.__new__(Dict) | 724 | cdef Dict instance = Dict.__new__(Dict) |
