mirror of
https://github.com/python/cpython.git
synced 2026-01-27 13:15:25 +00:00
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.
Miscellaneous source files for the main Python shared library