summaryrefslogtreecommitdiffstats
path: root/PC/config.c
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2006-05-29 12:43:05 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2006-05-29 12:43:05 (GMT)
commitc649ec5b69bd864914e02a2a9ec73c23bd307448 (patch)
tree795bb943ec4b6a13501e55aaa6a8efe9b86d0305 /PC/config.c
parentc7c51147c73984137410ec03026b77e4a76ab61e (diff)
downloadcpython-c649ec5b69bd864914e02a2a9ec73c23bd307448.zip
cpython-c649ec5b69bd864914e02a2a9ec73c23bd307448.tar.gz
cpython-c649ec5b69bd864914e02a2a9ec73c23bd307448.tar.bz2
Apply modified version of Collin Winter's patch #1478788
Renames functional extension module to _functools and adds a Python functools module so that utility functions like update_wrapper can be added easily.
Diffstat (limited to 'PC/config.c')
-rw-r--r--PC/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/config.c b/PC/config.c
index be11d3f..b832d7c 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -54,7 +54,7 @@ extern void initparser(void);
extern void init_winreg(void);
extern void init_struct(void);
extern void initdatetime(void);
-extern void initfunctional(void);
+extern void init_functools(void);
extern void initzlib(void);
extern void init_multibytecodec(void);
@@ -132,7 +132,7 @@ struct _inittab _PyImport_Inittab[] = {
{"_winreg", init_winreg},
{"_struct", init_struct},
{"datetime", initdatetime},
- {"functional", initfunctional},
+ {"_functools", init_functools},
{"xxsubtype", initxxsubtype},
{"zipimport", initzipimport},