Skip to content

Commit 81c8475

Browse files
committed
Fixed address bug
1 parent 25ebe25 commit 81c8475

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Parser/asdl_c.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2469,7 +2469,7 @@ def generate_module_def(metadata, f, internal_h):
24692469
PyInterpreterState *interp = _PyInterpreterState_GET();
24702470
struct ast_state *state = &interp->ast;
24712471
assert(!state->finalized);
2472-
if (_PyOnceFlag_CallOnce(&state->once, (_Py_once_fn_t *)&init_types, state) < 0) {
2472+
if (_PyOnceFlag_CallOnce(&state->once, (_Py_once_fn_t)init_types, state) < 0) {
24732473
return NULL;
24742474
}
24752475
return state;

0 commit comments

Comments
 (0)