Change the default command prompts

This commit is contained in:
Justine Tunney 2022-04-06 06:56:11 -07:00
parent ce9bdbb0bf
commit 82f2e758c7
6 changed files with 18 additions and 9 deletions

View file

@ -101,7 +101,7 @@ PyRun_InteractiveLoopFlags(FILE *fp, const char *filename_str, PyCompilerFlags *
}
v = _PySys_GetObjectId(&PyId_ps1);
if (v == NULL) {
_PySys_SetObjectId(&PyId_ps1, v = PyUnicode_FromString(">>> "));
_PySys_SetObjectId(&PyId_ps1, v = PyUnicode_FromString(">>: "));
Py_XDECREF(v);
}
v = _PySys_GetObjectId(&PyId_ps2);