summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 5cf1d41..ad06250 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1051,7 +1051,7 @@ min_max(PyObject *args, int op)
if (PyTuple_Size(args) > 1)
v = args;
- else if (!PyArg_UnpackTuple(args, "min/max", 1, 1, &v))
+ else if (!PyArg_UnpackTuple(args, (op==Py_LT) ? "min" : "max", 1, 1, &v))
return NULL;
it = PyObject_GetIter(v);