commit | a27474c345becd19e2d39a2265cbcd31667df3f6 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sat Jun 28 22:16:53 2008 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sat Jun 28 22:16:53 2008 +0000 |
tree | 6c4270e090c48a462e7d9ea59d96bc8460f15cb2 | |
parent | 77cec6ea23f13746599e1b22a1b67f4a9e0b3438 [diff] [blame] |
Issue 3230: Do not the set specific size macro.
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 @@ 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)) {