[3.9] bpo-40939: Deprecate PyNode_Compile (GH-21036)

Automerge-Triggered-By: @pablogsal
This commit is contained in:
Lysandros Nikolaou 2020-06-22 03:07:39 +03:00 committed by GitHub
parent 5b1a311512
commit 8ae5e8ec81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View file

@ -9,6 +9,9 @@ extern "C" {
/* Public interface */
struct _node; /* Declare the existence of this type */
#ifndef Py_BUILD_CORE
Py_DEPRECATED(3.9)
#endif
PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);
/* XXX (ncoghlan): Unprefixed type name in a public API! */