summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2018-01-29 19:33:57 (GMT)
committerGitHub <noreply@github.com>2018-01-29 19:33:57 (GMT)
commitc65ef772c335324deb03626cc447b89987781f27 (patch)
treefba0ec89a83165958c4e9ce631442bb9ce9ff7fa /Include
parent2a2270db9be9bdac5ffd2d50929bf905e7391a06 (diff)
downloadcpython-c65ef772c335324deb03626cc447b89987781f27.zip
cpython-c65ef772c335324deb03626cc447b89987781f27.tar.gz
cpython-c65ef772c335324deb03626cc447b89987781f27.tar.bz2
rename _imp initialization function to follow conventions (#5432)
When the C imp module became _imp in 6f44d66bc491bad5b8d897a68da68e009e27829d, the initialization function should have been renamed from PyInit_imp to PyInit__imp.
Diffstat (limited to 'Include')
-rw-r--r--Include/import.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/import.h b/Include/import.h
index 26c4b1f..ac3fc3b 100644
--- a/Include/import.h
+++ b/Include/import.h
@@ -10,7 +10,7 @@ extern "C" {
#ifndef Py_LIMITED_API
PyAPI_FUNC(_PyInitError) _PyImportZip_Init(void);
-PyMODINIT_FUNC PyInit_imp(void);
+PyMODINIT_FUNC PyInit__imp(void);
#endif /* !Py_LIMITED_API */
PyAPI_FUNC(long) PyImport_GetMagicNumber(void);
PyAPI_FUNC(const char *) PyImport_GetMagicTag(void);