summaryrefslogtreecommitdiff
path: root/Include/moduleobject.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-10-30 13:19:51 +0200
committerGitHub <noreply@github.com>2018-10-30 13:19:51 +0200
commit3e429dcc242e48fa4cbb1a91cf7c416c37b97b4e (patch)
tree6e84750ed25ac0ec74e491a4261ce4338bff4fa0 /Include/moduleobject.h
parent95b6acf951fa7f503a3cc5ce7d969d7bcf2f95c9 (diff)
downloadcpython-git-3e429dcc242e48fa4cbb1a91cf7c416c37b97b4e.tar.gz
bpo-33237: Improve AttributeError message for partially initialized module. (GH-6398)
Diffstat (limited to 'Include/moduleobject.h')
-rw-r--r--Include/moduleobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/moduleobject.h b/Include/moduleobject.h
index 1d8fe46dea..4d17380873 100644
--- a/Include/moduleobject.h
+++ b/Include/moduleobject.h
@@ -30,6 +30,7 @@ PyAPI_FUNC(PyObject *) PyModule_GetFilenameObject(PyObject *);
#ifndef Py_LIMITED_API
PyAPI_FUNC(void) _PyModule_Clear(PyObject *);
PyAPI_FUNC(void) _PyModule_ClearDict(PyObject *);
+PyAPI_FUNC(int) _PyModuleSpec_IsInitializing(PyObject *);
#endif
PyAPI_FUNC(struct PyModuleDef*) PyModule_GetDef(PyObject*);
PyAPI_FUNC(void*) PyModule_GetState(PyObject*);