gh-131238: Remove pycore_lock.h includes (#131483)

PyMutex type is now part of <Python.h>, it's no longer needed to
include <pycore_lock.h> to get it.
This commit is contained in:
Victor Stinner 2025-03-20 00:46:25 +01:00 committed by GitHub
parent 6827c5129c
commit 344f3c3fd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 4 additions and 17 deletions

View file

@ -9,7 +9,6 @@ extern "C" {
#endif
#include "pycore_interp_structs.h" // struct codecs_state
#include "pycore_lock.h" // PyMutex
/* Initialize codecs-related state for the given interpreter, including
registering the first codec search function. Must be called before any other