File tree Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 33#include "parts.h"
44#include "util.h"
55
6- static struct PyModuleDef * _testcapimodule = NULL ; // set at initialization
7-
86static PyObject *
97codec_incrementalencoder (PyObject * self , PyObject * args )
108{
@@ -2098,8 +2096,6 @@ static PyMethodDef TestMethods[] = {
20982096
20992097int
21002098_PyTestCapi_Init_Unicode (PyObject * m ) {
2101- _testcapimodule = PyModule_GetDef (m );
2102-
21032099 if (PyModule_AddFunctions (m , TestMethods ) < 0 ) {
21042100 return -1 ;
21052101 }
Original file line number Diff line number Diff line change 77FILES_WITHOUT_INTERNAL_CAPI = frozenset ((
88 # Modules/
99 '_testcapimodule.c' ,
10+ '_testlimitedcapi.c' ,
1011 '_testclinic_limited.c' ,
1112 'xxlimited.c' ,
1213 'xxlimited_35.c' ,
Original file line number Diff line number Diff line change @@ -444,7 +444,6 @@ Modules/_testcapi/heaptype.c - _testcapimodule -
444444Modules/_testcapi/mem.c - FmData -
445445Modules/_testcapi/mem.c - FmHook -
446446Modules/_testcapi/structmember.c - test_structmembersType_OldAPI -
447- Modules/_testcapi/unicode.c - _testcapimodule -
448447Modules/_testcapi/watchers.c - g_dict_watch_events -
449448Modules/_testcapi/watchers.c - g_dict_watchers_installed -
450449Modules/_testcapi/watchers.c - g_type_modified_events -
You can’t perform that action at this time.
0 commit comments