diff options
author | Raymond Hettinger <python@rcn.com> | 2008-06-28 22:16:53 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-06-28 22:16:53 +0000 |
commit | a27474c345becd19e2d39a2265cbcd31667df3f6 (patch) | |
tree | 6c4270e090c48a462e7d9ea59d96bc8460f15cb2 /Objects/dictobject.c | |
parent | 77cec6ea23f13746599e1b22a1b67f4a9e0b3438 (diff) | |
download | cpython-git-a27474c345becd19e2d39a2265cbcd31667df3f6.tar.gz |
Issue 3230: Do not the set specific size macro.
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r-- | Objects/dictobject.c | 2 |
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)) { |