summaryrefslogtreecommitdiff
path: root/Include/namespaceobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/namespaceobject.h')
-rw-r--r--Include/namespaceobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/namespaceobject.h b/Include/namespaceobject.h
index a412f05200..0c8d95c0f1 100644
--- a/Include/namespaceobject.h
+++ b/Include/namespaceobject.h
@@ -7,9 +7,11 @@
extern "C" {
#endif
+#ifndef Py_LIMITED_API
PyAPI_DATA(PyTypeObject) _PyNamespace_Type;
PyAPI_FUNC(PyObject *) _PyNamespace_New(PyObject *kwds);
+#endif /* !Py_LIMITED_API */
#ifdef __cplusplus
}