mirror of
https://github.com/python/cpython.git
synced 2026-07-07 18:50:03 -04:00
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.
Miscellaneous source files for the main Python shared library