Issue 3230: Do not the set specific size macro.

This commit is contained in:
Raymond Hettinger 2008-06-28 22:16:53 +00:00
parent 77cec6ea23
commit a27474c345

View file

@ -1253,7 +1253,7 @@ dict_fromkeys(PyObject *cls, PyObject *args)
PyObject *key;
long hash;
if (dictresize(mp, PySet_GET_SIZE(seq)))
if (dictresize(mp, Py_SIZE(seq)))
return NULL;
while (_PyDict_Next(seq, &pos, &key, &oldvalue, &hash)) {