From 121c834561b1b3f06259d32681cab0cff1a1a8ae Mon Sep 17 00:00:00 2001 From: Andrew Udvare Date: Wed, 2 Apr 2014 20:37:40 -0700 Subject: cython: Implement dump()/dumps() to match up with plistlib (Python 3.4) --- cython/plist.pxd | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cython/plist.pxd') diff --git a/cython/plist.pxd b/cython/plist.pxd index 99dcca5..b11d80d 100644 --- a/cython/plist.pxd +++ b/cython/plist.pxd @@ -71,6 +71,8 @@ cpdef object from_bin(bytes bin) cpdef object load(fp, fmt=*, use_builtin_types=*, dict_type=*) cpdef object loads(data, fmt=*, use_builtin_types=*, dict_type=*) +cpdef object dump(value, fp, fmt=*, sort_keys=*, skipkeys=*) +cpdef object dumps(value, fmt=*, sort_keys=*, skipkeys=*) cdef object plist_t_to_node(plist_t c_plist, bint managed=*) cdef plist_t native_to_plist_t(object native) -- cgit v1.1-32-gdbae