mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Tighten an overbroad and misleading assertion.
(Reported by Jim Jewett.)
This commit is contained in:
parent
e2ac4abd01
commit
334b5b20f2
1 changed files with 1 additions and 1 deletions
|
|
@ -445,7 +445,7 @@ set_clear_internal(PySetObject *so)
|
||||||
}
|
}
|
||||||
#ifdef Py_DEBUG
|
#ifdef Py_DEBUG
|
||||||
else
|
else
|
||||||
assert(entry->key == NULL || entry->key == dummy);
|
assert(entry->key == NULL);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue