mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
gh-106320: Fix _PyImport_GetModuleAttr() declaration (#106386)
Replace PyAPI_DATA() with PyAPI_FUNC().
This commit is contained in:
parent
648688c137
commit
b425613580
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue