]> granicus.if.org Git - python/commitdiff
A no-op change. It looks like this call was not meant to be a recursive
authorArmin Rigo <arigo@tunes.org>
Wed, 24 Nov 2010 10:39:23 +0000 (10:39 +0000)
committerArmin Rigo <arigo@tunes.org>
Wed, 24 Nov 2010 10:39:23 +0000 (10:39 +0000)
call, but just call the helper (which the recursive call ends up doing).

Objects/setobject.c

index 00cabe609d916951793deaad852f6bf42f042293..56f3087620b0d5b70ae6fdef830669750645a2f7 100644 (file)
@@ -1858,7 +1858,7 @@ set_contains(PySetObject *so, PyObject *key)
         tmpkey = make_new_set(&PyFrozenSet_Type, key);
         if (tmpkey == NULL)
             return -1;
-        rv = set_contains(so, tmpkey);
+        rv = set_contains_key(so, tmpkey);
         Py_DECREF(tmpkey);
     }
     return rv;