Skip to content

Commit 3299299

Browse files
committed
Try to fix build on Ubuntu and macOS
1 parent 49aca48 commit 3299299

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/dictobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5595,7 +5595,7 @@ dictiter_iternext_threadsafe(PyDictObject *d, PyObject *self,
55955595
Py_ssize_t i;
55965596
PyDictKeysObject *k;
55975597

5598-
assert (PyDict_Check(d));
5598+
assert (_PyAnyDict_Check(d));
55995599

56005600
if (di->di_used != _Py_atomic_load_ssize_relaxed(&d->ma_used)) {
56015601
PyErr_SetString(PyExc_RuntimeError,

0 commit comments

Comments
 (0)