summaryrefslogtreecommitdiffstats
path: root/Objects/exceptions.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-10-27 04:00:45 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-10-27 04:00:45 (GMT)
commitbed678449f55a47fad914fa9e04df547c240f810 (patch)
tree143d515c8b240389ce2a2b541c604d6d3f8f79f9 /Objects/exceptions.c
parent841e122f0ea1d73ca10a5ee91692d3a6c878af3c (diff)
downloadcpython-bed678449f55a47fad914fa9e04df547c240f810.zip
cpython-bed678449f55a47fad914fa9e04df547c240f810.tar.gz
cpython-bed678449f55a47fad914fa9e04df547c240f810.tar.bz2
Get rid of more uses of string and use unicode
Diffstat (limited to 'Objects/exceptions.c')
-rw-r--r--Objects/exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c
index 041cf9d..abe4bde 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");