diff options
author | Zackery Spytz <zspytz@gmail.com> | 2020-10-19 22:47:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 22:47:37 (GMT) |
commit | 1438c2ac773e87d1f9c97fc22f2346e16bf48773 (patch) | |
tree | 71d6951fede352740b6dd0eba6b2c1c9c67101b1 /PC/python3dll.c | |
parent | f85658a09878c658ae0e0590bfa30e4ce51c9a04 (diff) | |
download | cpython-1438c2ac773e87d1f9c97fc22f2346e16bf48773.zip cpython-1438c2ac773e87d1f9c97fc22f2346e16bf48773.tar.gz cpython-1438c2ac773e87d1f9c97fc22f2346e16bf48773.tar.bz2 |
bpo-41845: Move PyObject_GenericGetDict() back into the limited API (GH22646)
It was moved out of the limited API in 7d95e4072169911b228c9e42367afb5f17fd3db0.
This change re-enables it from 3.10, to avoid generating invalid extension modules for earlier versions.
Diffstat (limited to 'PC/python3dll.c')
-rw-r--r-- | PC/python3dll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/python3dll.c b/PC/python3dll.c index b9b229e..7e4a510 100644 --- a/PC/python3dll.c +++ b/PC/python3dll.c @@ -414,6 +414,7 @@ EXPORT_FUNC(PyObject_GC_Track) EXPORT_FUNC(PyObject_GC_UnTrack) EXPORT_FUNC(PyObject_GenericGetAttr) EXPORT_FUNC(PyObject_GenericSetAttr) +EXPORT_FUNC(PyObject_GenericGetDict) EXPORT_FUNC(PyObject_GenericSetDict) EXPORT_FUNC(PyObject_GetAttr) EXPORT_FUNC(PyObject_GetAttrString) |