summaryrefslogtreecommitdiffstats
path: root/Include/import.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/import.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/import.h')
-rw-r--r--Include/import.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/import.h b/Include/import.h
index afdfac2..46c0d8e 100644
--- a/Include/import.h
+++ b/Include/import.h
@@ -7,7 +7,9 @@
extern "C" {
#endif
+#ifndef Py_LIMITED_API
PyAPI_FUNC(void) _PyImportZip_Init(void);
+#endif /* !Py_LIMITED_API */
PyMODINIT_FUNC PyInit_imp(void);
PyAPI_FUNC(long) PyImport_GetMagicNumber(void);