From bf7f3506e133953f8eec841f6239ee02a9832381 Mon Sep 17 00:00:00 2001 From: Nice Zombies Date: Thu, 31 Oct 2024 13:19:48 +0100 Subject: [PATCH] Update Python/bltinmodule.c Co-authored-by: Pieter Eendebak --- Python/bltinmodule.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index f444a30a6a9a5b..7695407df829ad 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -1536,9 +1536,6 @@ map_setstate(mapobject *lz, PyObject *state) { // For now we keep things strict, rather than using PyObject_IsTrue(). int strict = state == Py_True; - if (strict < 0) { - return NULL; - } lz->strict = strict; Py_RETURN_NONE; }