1 parent 6251e9e commit 971154fCopy full SHA for 971154f
1 file changed
src/pysorteddict/sorted_dict_type.cc
@@ -63,9 +63,10 @@ static PyTypeObject* PyStructTime_Type;
63
static PyTypeObject* PyUUID_Type;
64
65
/**
66
- * Try to set the key type of the sorted dictionary to the non-null argument.
+ * Try to set the key type of the sorted dictionary. It should not already be
67
+ * set. The provided argument should not be a null pointer.
68
*
- * @param key_type Non-null variable to set the key type to.
69
+ * @param key_type Key type.
70
71
* @return `true` if successful, else `false`.
72
*/
0 commit comments