mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Change the default command prompts
This commit is contained in:
parent
ce9bdbb0bf
commit
82f2e758c7
6 changed files with 18 additions and 9 deletions
2
third_party/python/Python/pythonrun.c
vendored
2
third_party/python/Python/pythonrun.c
vendored
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue