Skip to content

Commit d80c1a5

Browse files
committed
misc tweaks
1 parent a0e36db commit d80c1a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/arraymodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2571,8 +2571,8 @@ array_repr(PyObject *op)
25712571
static PyObject*
25722572
array_subscr_lock_held(PyObject *op, PyObject *item)
25732573
{
2574+
_Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
25742575
arrayobject *self = arrayobject_CAST(op);
2575-
_Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
25762576
array_state *state = find_array_state_by_type(Py_TYPE(self));
25772577

25782578
if (PyIndex_Check(item)) {

0 commit comments

Comments
 (0)