commit | 8ae5e8ec8147e6434454e66953c25848b848711a | [log] [tgz] |
---|---|---|
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | Mon Jun 22 03:07:39 2020 +0300 |
committer | GitHub <noreply@github.com> | Sun Jun 21 17:07:39 2020 -0700 |
tree | b94e1f849fbff0b814a501bb73f9c7d6901b4dec | |
parent | 5b1a311512fb74d47a7beb223b93e5f28f3f98ab [diff] [blame] |
[3.9] bpo-40939: Deprecate PyNode_Compile (GH-21036) Automerge-Triggered-By: @pablogsal
diff --git a/Include/compile.h b/Include/compile.h index 12417ce..98adee3 100644 --- a/Include/compile.h +++ b/Include/compile.h
@@ -9,6 +9,9 @@ /* 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! */