Skip to content

Commit c84646d

Browse files
committed
Fix assertion for the parent item
1 parent 9d9d5e6 commit c84646d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reader.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static void *tryParentize(const redisReadTask *task, PyObject *obj) {
105105
}
106106
break;
107107
default:
108-
assert(PyList_CheckExact(parent));
108+
assert(PyList_Check(parent));
109109
PyList_SET_ITEM(parent, task->idx, obj);
110110
}
111111
}

0 commit comments

Comments
 (0)