aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index aaef5aa5324..6df297f364c 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -4104,7 +4104,7 @@ _PySys_SetIntMaxStrDigits(int maxdigits)
{
if (maxdigits != 0 && maxdigits < _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
PyErr_Format(
- PyExc_ValueError, "maxdigits must be 0 or larger than %d",
+ PyExc_ValueError, "maxdigits must be >= %d or 0 for unlimited",
_PY_LONG_MAX_STR_DIGITS_THRESHOLD);
return -1;
}