summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2018-09-12 19:06:42 (GMT)
committerGitHub <noreply@github.com>2018-09-12 19:06:42 (GMT)
commite5024517811ee990b770fca0ba7058742d00e032 (patch)
tree6da191463cc8ff17b6c4ec4e4479015e851d5244 /Python/import.c
parent019f0a0cb85ebc234356415f3638b9bd77528e55 (diff)
downloadcpython-e5024517811ee990b770fca0ba7058742d00e032.zip
cpython-e5024517811ee990b770fca0ba7058742d00e032.tar.gz
cpython-e5024517811ee990b770fca0ba7058742d00e032.tar.bz2
closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218)
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index 319b661..2a9a576 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -1138,7 +1138,7 @@ get_path_importer(PyObject *path_importer_cache, PyObject *path_hooks,
return importer;
}
-PyAPI_FUNC(PyObject *)
+PyObject *
PyImport_GetImporter(PyObject *path) {
PyObject *importer=NULL, *path_importer_cache=NULL, *path_hooks=NULL;