We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4f577f commit e21838aCopy full SHA for e21838a
Modules/_struct.c
@@ -2758,10 +2758,7 @@ _structmodule_exec(PyObject *m)
2758
return -1;
2759
}
2760
2761
- /* Check endian and swap in faster functions */
2762
- if (_PyOnceFlag_CallOnce(&endian_tables_init_once, init_endian_tables, NULL) == -1) {
2763
- return -1;
2764
- }
+ _PyOnceFlag_CallOnce(&endian_tables_init_once, init_endian_tables, NULL)
2765
2766
/* Add some symbolic constants to the module */
2767
state->StructError = PyErr_NewException("struct.error", NULL, NULL);
0 commit comments