File tree 3 files changed +1
-5
lines changed
3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 3
3
#include "parts.h"
4
4
#include "util.h"
5
5
6
- static struct PyModuleDef * _testcapimodule = NULL ; // set at initialization
7
-
8
6
static PyObject *
9
7
codec_incrementalencoder (PyObject * self , PyObject * args )
10
8
{
@@ -2098,8 +2096,6 @@ static PyMethodDef TestMethods[] = {
2098
2096
2099
2097
int
2100
2098
_PyTestCapi_Init_Unicode (PyObject * m ) {
2101
- _testcapimodule = PyModule_GetDef (m );
2102
-
2103
2099
if (PyModule_AddFunctions (m , TestMethods ) < 0 ) {
2104
2100
return -1 ;
2105
2101
}
Original file line number Diff line number Diff line change 7
7
FILES_WITHOUT_INTERNAL_CAPI = frozenset ((
8
8
# Modules/
9
9
'_testcapimodule.c' ,
10
+ '_testlimitedcapi.c' ,
10
11
'_testclinic_limited.c' ,
11
12
'xxlimited.c' ,
12
13
'xxlimited_35.c' ,
Original file line number Diff line number Diff line change @@ -444,7 +444,6 @@ Modules/_testcapi/heaptype.c - _testcapimodule -
444
444
Modules/_testcapi/mem.c - FmData -
445
445
Modules/_testcapi/mem.c - FmHook -
446
446
Modules/_testcapi/structmember.c - test_structmembersType_OldAPI -
447
- Modules/_testcapi/unicode.c - _testcapimodule -
448
447
Modules/_testcapi/watchers.c - g_dict_watch_events -
449
448
Modules/_testcapi/watchers.c - g_dict_watchers_installed -
450
449
Modules/_testcapi/watchers.c - g_type_modified_events -
You can’t perform that action at this time.
0 commit comments