Commit 45ed5222 authored by Stefan Krah's avatar Stefan Krah

Revert part of dbf72357cb4a that is in a rarely used path and causes

maintenance issues (cost/benefit).
parent 2b938f84
......@@ -428,7 +428,7 @@ dict_as_flags(PyObject *val)
return DEC_INVALID_SIGNALS;
}
if (PyDict_GET_SIZE(val) != SIGNAL_MAP_LEN) {
if (PyDict_Size(val) != SIGNAL_MAP_LEN) {
PyErr_SetString(PyExc_KeyError,
"invalid signal dict");
return DEC_INVALID_SIGNALS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment