diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2006-05-29 12:43:05 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2006-05-29 12:43:05 (GMT) |
commit | c649ec5b69bd864914e02a2a9ec73c23bd307448 (patch) | |
tree | 795bb943ec4b6a13501e55aaa6a8efe9b86d0305 /PC | |
parent | c7c51147c73984137410ec03026b77e4a76ab61e (diff) | |
download | cpython-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')
-rw-r--r-- | PC/VC6/pythoncore.dsp | 2 | ||||
-rw-r--r-- | PC/config.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/PC/VC6/pythoncore.dsp b/PC/VC6/pythoncore.dsp index cf3200c..ec2ec3e 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 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}, |