Skip to content

Commit 7cb7789

Browse files
committed
Revert unnecessary change
1 parent 1bf50f1 commit 7cb7789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ pymain_run_stdin(PyConfig *config)
569569
|| _Py_GetEnv(config->use_environment, "PYTHON_BASIC_REPL")) {
570570
PyCompilerFlags cf = _PyCompilerFlags_INIT;
571571
int run = PyRun_AnyFileExFlags(stdin, "<stdin>", 0, &cf);
572-
return run;
572+
return (run != 0);
573573
}
574574
int run = pymain_run_module(L"_pyrepl", 0);
575575
return run;

0 commit comments

Comments
 (0)