Skip to content

Commit dd39123

Browse files
authored
bpo-40137: Convert _functools module to use PyType_FromModuleAndSpec. (GH-23405)
1 parent 84402eb commit dd39123

File tree

3 files changed

+255
-224
lines changed

3 files changed

+255
-224
lines changed

Lib/test/test_functools.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727

2828
py_functools = import_helper.import_fresh_module('functools',
2929
blocked=['_functools'])
30-
c_functools = import_helper.import_fresh_module('functools',
31-
fresh=['_functools'])
30+
c_functools = import_helper.import_fresh_module('functools')
3231

3332
decimal = import_helper.import_fresh_module('decimal', fresh=['_decimal'])
3433

Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Convert functools module to use :c:func:`PyType_FromModuleAndSpec`.

0 commit comments

Comments
 (0)