Removed a check "if (args != NULL)" which is always True and makes no sense.
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index d4e9a22..dca8555 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1908,11 +1908,9 @@
static char *kwlist[] = {"iterable", "cmp", "key", "reverse", 0};
long reverse;
- if (args != NULL) {
- if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|OOi:sorted",
- kwlist, &seq, &compare, &keyfunc, &reverse))
- return NULL;
- }
+ if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|OOi:sorted",
+ kwlist, &seq, &compare, &keyfunc, &reverse))
+ return NULL;
newlist = PySequence_List(seq);
if (newlist == NULL)