summaryrefslogtreecommitdiffstats
path: root/Objects/frameobject.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/frameobject.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/frameobject.c')
-rw-r--r--Objects/frameobject.c2
1 files changed, 1 insertions, 1 deletions
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 @@ map_to_dict(PyObject *map, Py_ssize_t nmap, PyObject *dict, PyObject **values,
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);