Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Flip a conditional check.
  • Loading branch information
ericsnowcurrently committed Mar 16, 2023
commit 8da964f06b54988777ee24eccd36af7f00cae654
2 changes: 1 addition & 1 deletion Python/import.c
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ get_core_module_dict(PyInterpreterState *interp,
static inline int
is_core_module(PyInterpreterState *interp, PyObject *name, PyObject *filename)
{
return get_core_module_dict(interp, name, filename) == NULL;
return get_core_module_dict(interp, name, filename) != NULL;
}

static int
Expand Down