summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorNnarol <lorand.l.juhasz@gmail.com>2023-01-08 13:51:20 (GMT)
committerGitHub <noreply@github.com>2023-01-08 13:51:20 (GMT)
commit0741da8d28790cebe94a4392af37d63b1510080a (patch)
tree2d82f8d83605c596156738920288e81b75ef465a /Python
parentb034fd3e5926c63a681a211087b4c666834c7525 (diff)
downloadcpython-0741da8d28790cebe94a4392af37d63b1510080a.zip
cpython-0741da8d28790cebe94a4392af37d63b1510080a.tar.gz
cpython-0741da8d28790cebe94a4392af37d63b1510080a.tar.bz2
GH-90829: Fix empty iterable error message in min/max (#31181)
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 599cc18..f97dd67 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1814,7 +1814,7 @@ min_max(PyObject *args, PyObject *kwds, int op)
maxitem = Py_NewRef(defaultval);
} else {
PyErr_Format(PyExc_ValueError,
- "%s() arg is an empty sequence", name);
+ "%s() iterable argument is empty", name);
}
}
else