diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-03 23:37:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 23:37:48 (GMT) |
commit | b4256135809d78d342e9d92e8bc3f527d3d3057f (patch) | |
tree | 330cecf4879a55d1f5b3e98104b10a7bcfa6b0fb /Include | |
parent | 648688c137744a623a71dc2413d2879b80c99eae (diff) | |
download | cpython-b4256135809d78d342e9d92e8bc3f527d3d3057f.zip cpython-b4256135809d78d342e9d92e8bc3f527d3d3057f.tar.gz cpython-b4256135809d78d342e9d92e8bc3f527d3d3057f.tar.bz2 |
gh-106320: Fix _PyImport_GetModuleAttr() declaration (#106386)
Replace PyAPI_DATA() with PyAPI_FUNC().
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_import.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/internal/pycore_import.h b/Include/internal/pycore_import.h index 457a654..c048ae8 100644 --- a/Include/internal/pycore_import.h +++ b/Include/internal/pycore_import.h @@ -24,8 +24,8 @@ extern int _PyImport_FixupBuiltin( extern int _PyImport_FixupExtensionObject(PyObject*, PyObject *, PyObject *, PyObject *); -PyAPI_DATA(PyObject *) _PyImport_GetModuleAttr(PyObject *, PyObject *); -PyAPI_DATA(PyObject *) _PyImport_GetModuleAttrString(const char *, const char *); +PyAPI_FUNC(PyObject *) _PyImport_GetModuleAttr(PyObject *, PyObject *); +PyAPI_FUNC(PyObject *) _PyImport_GetModuleAttrString(const char *, const char *); struct _import_runtime_state { |