diff options
author | Raymond Hettinger <python@rcn.com> | 2008-06-28 22:16:53 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-06-28 22:16:53 (GMT) |
commit | a27474c345becd19e2d39a2265cbcd31667df3f6 (patch) | |
tree | 6c4270e090c48a462e7d9ea59d96bc8460f15cb2 /Objects | |
parent | 77cec6ea23f13746599e1b22a1b67f4a9e0b3438 (diff) | |
download | cpython-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.c | 2 |
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)) { |