summaryrefslogtreecommitdiffstats
path: root/cython
diff options
context:
space:
mode:
Diffstat (limited to 'cython')
-rw-r--r--cython/plist.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cython/plist.pyx b/cython/plist.pyx
index 99b344c..4acd707 100644
--- a/cython/plist.pyx
+++ b/cython/plist.pyx
@@ -576,7 +576,7 @@ cdef plist_t create_dict_plist(object value=None):
576 if value is not None and isinstance(value, dict): 576 if value is not None and isinstance(value, dict):
577 for key, item in value.items(): 577 for key, item in value.items():
578 c_node = native_to_plist_t(item) 578 c_node = native_to_plist_t(item)
579 plist_dict_insert_item(node, key, c_node) 579 plist_dict_set_item(node, key, c_node)
580 c_node = NULL 580 c_node = NULL
581 return node 581 return node
582 582
@@ -683,7 +683,7 @@ cdef class Dict(Node):
683 else: 683 else:
684 n = plist_t_to_node(native_to_plist_t(value), False) 684 n = plist_t_to_node(native_to_plist_t(value), False)
685 685
686 plist_dict_insert_item(self._c_node, key, n._c_node) 686 plist_dict_set_item(self._c_node, key, n._c_node)
687 self._map[key] = n 687 self._map[key] = n
688 688
689 def __delitem__(self, key): 689 def __delitem__(self, key):