summaryrefslogtreecommitdiff
path: root/Objects
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-06-28 22:16:53 +0000
committerRaymond Hettinger <python@rcn.com>2008-06-28 22:16:53 +0000
commit14f30d993f76f367327fc8ed95d5ad725a969d0b (patch)
tree49a7477a45cb51c58a12af47410f6353386a6ef3 /Objects
parenta29c28769144c87a7e3dfa098ec4affe7c724f62 (diff)
downloadcpython-14f30d993f76f367327fc8ed95d5ad725a969d0b.tar.gz
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 08a3a1ed7d..57911654f5 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)) {