commit | bed678449f55a47fad914fa9e04df547c240f810 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sat Oct 27 04:00:45 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sat Oct 27 04:00:45 2007 +0000 |
tree | 143d515c8b240389ce2a2b541c604d6d3f8f79f9 | |
parent | 841e122f0ea1d73ca10a5ee91692d3a6c878af3c [diff] [blame] |
Get rid of more uses of string and use unicode
diff --git a/Objects/frameobject.c b/Objects/frameobject.c index 7ec7ed5..cf41ddd 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c
@@ -721,7 +721,7 @@ for (j = nmap; --j >= 0; ) { PyObject *key = PyTuple_GET_ITEM(map, j); PyObject *value = values[j]; - assert(PyString_Check(key)/*XXX this should go*/ || PyUnicode_Check(key)); + assert(PyUnicode_Check(key)); if (deref) { assert(PyCell_Check(value)); value = PyCell_GET(value);