File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ typedef struct {
4646static inline PyModuleDef * _PyModule_GetDefOrNull (PyObject * arg ) {
4747 PyModuleObject * mod = _PyModule_CAST (arg );
4848 if (mod -> md_token_is_def ) {
49- return (PyModuleDef * )(( PyModuleObject * ) mod ) -> md_token ;
49+ return (PyModuleDef * )mod -> md_token ;
5050 }
5151 return NULL ;
5252}
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ static PyMemberDef module_members[] = {
2828};
2929
3030static void
31- assert_def_missing_or_redundant (PyModuleObject * m ) {
31+ assert_def_missing_or_redundant (PyModuleObject * m )
32+ {
3233 /* We copy all relevant info into the module object.
3334 * Modules created using a def keep a reference to that (statically
3435 * allocated) def; the info there should match what we have in the module.
You can’t perform that action at this time.
0 commit comments