diff --git a/src/deemon/objects/seq/default-api-mutable.c b/src/deemon/objects/seq/default-api-mutable.c index e37c000be..02825e1f8 100644 --- a/src/deemon/objects/seq/default-api-mutable.c +++ b/src/deemon/objects/seq/default-api-mutable.c @@ -2162,9 +2162,7 @@ generic_seq_xchitem(DeeObject *self, size_t argc, DeeObject *const *argv, DeeObj if (DeeArg_UnpackKw(argc, argv, kw, kwlist__index_value, UNPuSIZ "o:xchitem", &index, &value)) goto err; - if unlikely(new_DeeSeq_XchItemIndex(self, index, value)) - goto err; - return_none; + return new_DeeSeq_XchItemIndex(self, index, value); err: return NULL; }