diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-25 07:41:59 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-25 07:41:59 (GMT) |
commit | a369c5aba6fcc545b0d3d40050da6e2ff33e06fb (patch) | |
tree | 474b4fecb47b345fdd1305e908db7716c83ca89c /Python/pythonrun.c | |
parent | 1978470c3b5bd5729bd90b21e0700a6a60f08622 (diff) | |
download | cpython-a369c5aba6fcc545b0d3d40050da6e2ff33e06fb.zip cpython-a369c5aba6fcc545b0d3d40050da6e2ff33e06fb.tar.gz cpython-a369c5aba6fcc545b0d3d40050da6e2ff33e06fb.tar.bz2 |
Use unicode
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 32bc6f7..542fe38 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -707,12 +707,12 @@ PyRun_InteractiveLoopFlags(FILE *fp, const char *filename, PyCompilerFlags *flag } v = PySys_GetObject("ps1"); if (v == NULL) { - PySys_SetObject("ps1", v = PyString_FromString(">>> ")); + PySys_SetObject("ps1", v = PyUnicode_FromString(">>> ")); Py_XDECREF(v); } v = PySys_GetObject("ps2"); if (v == NULL) { - PySys_SetObject("ps2", v = PyString_FromString("... ")); + PySys_SetObject("ps2", v = PyUnicode_FromString("... ")); Py_XDECREF(v); } for (;;) { |