summaryrefslogtreecommitdiff
path: root/Python/dynload_shlib.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-06-11 05:26:20 +0000
committerMartin v. Löwis <martin@v.loewis.de>2008-06-11 05:26:20 +0000
commitecca9993d71841bcea26988c7aafbeb5d504d7a7 (patch)
tree33f1d23fa7bcf60f3149d179e665aaf09504c450 /Python/dynload_shlib.c
parent4c0cd2b3a9de411cfbc9e81be5ee91506c27e661 (diff)
downloadcpython-ecca9993d71841bcea26988c7aafbeb5d504d7a7.tar.gz
Implement PEP 3121: new module initialization and finalization API.
Diffstat (limited to 'Python/dynload_shlib.c')
-rw-r--r--Python/dynload_shlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c
index f12a93cb54..ac8cd4286b 100644
--- a/Python/dynload_shlib.c
+++ b/Python/dynload_shlib.c
@@ -82,7 +82,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
}
PyOS_snprintf(funcname, sizeof(funcname),
- LEAD_UNDERSCORE "init%.200s", shortname);
+ LEAD_UNDERSCORE "PyInit_%.200s", shortname);
if (fp != NULL) {
int i;