mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Merged revisions 83016 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83016 | doug.hellmann | 2010-07-21 08:29:04 -0400 (Wed, 21 Jul 2010) | 1 line Apply patch from Ray Allen for issue 9296 ........
This commit is contained in:
parent
b034c75495
commit
76e57947a1
2 changed files with 10 additions and 1 deletions
|
|
@ -1454,7 +1454,7 @@ encoder_listencode_dict(PyEncoderObject *s, PyObject *rval, PyObject *dct, Py_ss
|
|||
}
|
||||
else {
|
||||
/* TODO: include repr of key */
|
||||
PyErr_SetString(PyExc_ValueError, "keys must be a string");
|
||||
PyErr_SetString(PyExc_TypeError, "keys must be a string");
|
||||
goto bail;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue