Skip to content

Commit 8ee3c86

Browse files
committed
Fix compilation in Python 3
1 parent 434ea4d commit 8ee3c86

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/RadProfModule.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,21 +1115,10 @@ static PyMethodDef radProfMethods[] = {
11151115
radProfMethods
11161116
};
11171117

1118-
#endif
1119-
1120-
1121-
#if PY_MAJOR_VERSION >= 3
1122-
11231118
// Module initialization function
11241119
PyMODINIT_FUNC PyInit_radProf(void) {
11251120
import_array();
11261121
return PyModule_Create(&pyguidemodule);
1127-
// PyObject *m;
1128-
// m = PyModule_Create(&pyguidemodule);
1129-
// if (m == NULL)
1130-
// return NULL;
1131-
1132-
// import_array();
11331122
}
11341123

11351124
#else

0 commit comments

Comments
 (0)