b510e101f8
If PyDict_GetItemWithError is only used to check whether the key is in dict, it is better to use PyDict_Contains instead. And if it is used in combination with PyDict_SetItem, PyDict_SetDefault can replace the combination. |
||
---|---|---|
.. | ||
darwin | ||
libffi_osx | ||
_ctypes.c | ||
_ctypes_test.c | ||
_ctypes_test.h | ||
callbacks.c | ||
callproc.c | ||
cfield.c | ||
ctypes.h | ||
ctypes_dlfcn.h | ||
malloc_closure.c | ||
stgdict.c |