Skip to content

Commit ac03429

Browse files
authored
fix build error
1 parent 5e094d0 commit ac03429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_decimal/_decimal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ _left_or_right(PyObject *left, PyObject *right, void *token)
138138
return left;
139139
}
140140
assert(!PyErr_Occurred());
141-
assert(PyType_GetBaseByToken(Py_TYPE(right), &dec_spec, NULL) == 1);
141+
assert(PyType_GetBaseByToken(Py_TYPE(right), token, NULL) == 1);
142142
return right;
143143
}
144144

0 commit comments

Comments
 (0)