summaryrefslogtreecommitdiffstats
path: root/Include/namespaceobject.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-09-11 08:03:14 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-09-11 08:03:14 (GMT)
commit9fab79bcb5b83dc0247ce4cd60486341c73e7fd5 (patch)
treeb24f07e6f0ccb42ae02628248d1b521d6700386f /Include/namespaceobject.h
parentc16595e567d51a1773be30c34622620b52be7acf (diff)
downloadcpython-9fab79bcb5b83dc0247ce4cd60486341c73e7fd5.zip
cpython-9fab79bcb5b83dc0247ce4cd60486341c73e7fd5.tar.gz
cpython-9fab79bcb5b83dc0247ce4cd60486341c73e7fd5.tar.bz2
Issue #26900: Excluded underscored names and other private API from limited API.
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 a412f05..0c8d95c 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
}