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

@ -10,7 +10,6 @@ extern "C" {
#include "pycore_structs.h" // _Py_CODEUNIT
#include "pycore_stackref.h" // _PyStackRef
#include "pycore_lock.h" // PyMutex
#include "pycore_backoff.h" // _Py_BackoffCounter
#include "pycore_tstate.h" // _PyThreadStateImpl