gh-131238: Remove pycore_object_deferred.h from pycore_object.h (#131549)

Remove also pycore_function.h from pycore_typeobject.h.
This commit is contained in:
Victor Stinner 2025-03-21 17:44:10 +01:00 committed by GitHub
parent 3a09986553
commit 1a082085ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 23 additions and 20 deletions

View file

@ -13,11 +13,11 @@ extern "C" {
# error "this header requires Py_BUILD_CORE define"
#endif
#include "pycore_object_deferred.h"
#include "pycore_object.h"
#include "pycore_object.h" // Py_DECREF_MORTAL
#include "pycore_object_deferred.h" // _PyObject_HasDeferredRefcount()
#include <stdbool.h> // bool
#include <stddef.h>
#include <stdbool.h>
/*
This file introduces a new API for handling references on the stack, called