mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-44353: Implement typing.NewType __call__ method in C (#27262)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Denis Laxalde <denis@laxalde.org>
This commit is contained in:
parent
f1afef5e0d
commit
96c4cbd96c
11 changed files with 137 additions and 16 deletions
2
setup.py
2
setup.py
|
@ -957,6 +957,8 @@ class PyBuildExt(build_ext):
|
|||
extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
|
||||
# _statistics module
|
||||
self.add(Extension("_statistics", ["_statisticsmodule.c"]))
|
||||
# _typing module
|
||||
self.add(Extension("_typing", ["_typingmodule.c"]))
|
||||
|
||||
# Modules with some UNIX dependencies -- on by default:
|
||||
# (If you have a really backward UNIX, select and socket may not be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue