mirror of
https://github.com/python/cpython.git
synced 2026-04-05 03:21:05 +00:00
Issue 3230: Do not the set specific size macro.
This commit is contained in:
parent
77cec6ea23
commit
a27474c345
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue