diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-10-27 04:00:45 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-10-27 04:00:45 +0000 |
commit | 60a634645270259ae60421fa518715eddf429520 (patch) | |
tree | 08c0f059eccd70d23b884011bd99ea85490dee2c /Objects/exceptions.c | |
parent | a088742c684e508d8d898f0ad788792779bc605c (diff) | |
download | cpython-60a634645270259ae60421fa518715eddf429520.tar.gz |
Get rid of more uses of string and use unicode
Diffstat (limited to 'Objects/exceptions.c')
-rw-r--r-- | Objects/exceptions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c index 041cf9d104..abe4bde084 100644 --- a/Objects/exceptions.c +++ b/Objects/exceptions.c @@ -1882,7 +1882,7 @@ _PyExc_Init(void) (PyBaseExceptionObject *)PyExc_RecursionErrorInst; PyObject *args_tuple; PyObject *exc_message; - exc_message = PyString_FromString("maximum recursion depth exceeded"); + exc_message = PyUnicode_FromString("maximum recursion depth exceeded"); if (!exc_message) Py_FatalError("cannot allocate argument for RuntimeError " "pre-allocation"); |