mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
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.
This commit is contained in:
parent
c7c51147c7
commit
c649ec5b69
10 changed files with 32 additions and 26 deletions
4
setup.py
4
setup.py
|
@ -377,8 +377,8 @@ class PyBuildExt(build_ext):
|
|||
exts.append( Extension("_heapq", ["_heapqmodule.c"]) )
|
||||
# operator.add() and similar goodies
|
||||
exts.append( Extension('operator', ['operator.c']) )
|
||||
# functional
|
||||
exts.append( Extension("functional", ["functionalmodule.c"]) )
|
||||
# _functools
|
||||
exts.append( Extension("_functools", ["_functoolsmodule.c"]) )
|
||||
# Python C API test module
|
||||
exts.append( Extension('_testcapi', ['_testcapimodule.c']) )
|
||||
# profilers (_lsprof is for cProfile.py)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue