mirror of
https://github.com/python/cpython.git
synced 2026-05-06 20:51:17 -04:00
fb655e0c45
Replace #pragma with _Py_COMP_DIAG_PUSH, _Py_COMP_DIAG_IGNORE_DEPR_DECLS and _Py_COMP_DIAG_POP to ease Python maintenance. Also add a comment explaining why callbacks.c ignores a deprecation warning.