summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-06-28 22:16:53 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-06-28 22:16:53 (GMT)
commita27474c345becd19e2d39a2265cbcd31667df3f6 (patch)
tree6c4270e090c48a462e7d9ea59d96bc8460f15cb2 /Objects
parent77cec6ea23f13746599e1b22a1b67f4a9e0b3438 (diff)
downloadcpython-a27474c345becd19e2d39a2265cbcd31667df3f6.zip
cpython-a27474c345becd19e2d39a2265cbcd31667df3f6.tar.gz
cpython-a27474c345becd19e2d39a2265cbcd31667df3f6.tar.bz2
Issue 3230: Do not the set specific size macro.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/dictobject.c2
1 files changed, 1 insertions, 1 deletions
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)) {