summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/setobject.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 8e22b69..34235f8 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -1131,9 +1131,6 @@ PySet_Fini(void)
static PyObject *
set_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
{
- if (kwds != NULL && type == &PySet_Type && !_PyArg_NoKeywords("set()", kwds))
- return NULL;
-
return make_new_set(type, NULL);
}