summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2006-05-29 12:43:05 +0000
committerNick Coghlan <ncoghlan@gmail.com>2006-05-29 12:43:05 +0000
commitcb3813ac3c03f4ab0f9db8de47d73636c983835f (patch)
tree9c3a1d09704a7742cf7dd3072e7f128bcc3b191b /PC
parentae7091bf92aca36990c8194cd7a2e0101ef6e565 (diff)
downloadcpython-cb3813ac3c03f4ab0f9db8de47d73636c983835f.tar.gz
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')
-rw-r--r--PC/VC6/pythoncore.dsp2
-rw-r--r--PC/config.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/PC/VC6/pythoncore.dsp b/PC/VC6/pythoncore.dsp
index cf3200c9ce..ec2ec3ea1d 100644
--- a/PC/VC6/pythoncore.dsp
+++ b/PC/VC6/pythoncore.dsp
@@ -313,7 +313,7 @@ SOURCE=..\..\Objects\funcobject.c
# End Source File
# Begin Source File
-SOURCE=..\..\Modules\functionalmodule.c
+SOURCE=..\..\Modules\_functoolsmodule.c
# End Source File
# Begin Source File
diff --git a/PC/config.c b/PC/config.c
index be11d3f8dc..b832d7c64f 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},