Skip to content

Commit caf9a95

Browse files
committed
chore: remove meaningless comparison
1 parent 3e7be69 commit caf9a95

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/object/function.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ PyObject* function::call(PyObject* args, PyObject* keywords) const
161161
else
162162
{
163163
// build a new arg tuple, will adjust its size later
164-
assert(max_arity <= static_cast<std::size_t>(ssize_t_max));
165164
inner_args = handle<>(
166165
PyTuple_New(static_cast<ssize_t>(max_arity)));
167166

0 commit comments

Comments
 (0)