8000 gh-106320: Fix _PyImport_GetModuleAttr() declaration (#106386) · python/cpython@b425613 · GitHub
[go: up one dir, main page]

Skip to content

Commit b425613

Browse files
authored
gh-106320: Fix _PyImport_GetModuleAttr() declaration (#106386)
Replace PyAPI_DATA() with PyAPI_FUNC().
1 parent 648688c commit b425613

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Include/internal/pycore_import.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ extern int _PyImport_FixupBuiltin(
2424
extern int _PyImport_FixupExtensionObject(PyObject*, PyObject *,
2525
PyObject *, PyObject *);
2626

27-
PyAPI_DATA(PyObject *) _PyImport_GetModuleAttr(PyObject *, PyObject *);
28-
PyAPI_DATA(PyObject *) _PyImport_GetModuleAttrString(const char *, const char *);
27+
PyAPI_FUNC(PyObject *) _PyImport_GetModuleAttr(PyObject *, PyObject *);
28+
PyAPI_FUNC(PyObject *) _PyImport_GetModuleAttrString(const char *, const char *);
2929

3030

3131
struct _import_runtime_state {

0 commit comments

Comments
 (0)
0