From a27474c345becd19e2d39a2265cbcd31667df3f6 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sat, 28 Jun 2008 22:16:53 +0000 Subject: Issue 3230: Do not the set specific size macro. --- Objects/dictobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/dictobject.c b/Objects/dictobject.c index 08a3a1e..5791165 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -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)) { -- cgit v0.12