From e933832a15305d1545dee99623889567d876b9dd Mon Sep 17 00:00:00 2001 From: Sam Ezeh Date: Thu, 16 Jun 2022 09:52:11 +0100 Subject: [PATCH] Clarify that strtobool is case-insensitive --- Doc/distutils/apiref.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst index 18a4aac4f70895..dad0c2f4e76da3 100644 --- a/Doc/distutils/apiref.rst +++ b/Doc/distutils/apiref.rst @@ -1230,8 +1230,8 @@ other utility module. Convert a string representation of truth to true (1) or false (0). True values are ``y``, ``yes``, ``t``, ``true``, ``on`` and ``1``; false values - are ``n``, ``no``, ``f``, ``false``, ``off`` and ``0``. Raises - :exc:`ValueError` if *val* is anything else. + are ``n``, ``no``, ``f``, ``false``, ``off`` and ``0``. Matches case-insensitively + and raises :exc:`ValueError` if *val* is anything else. .. function:: byte_compile(py_files[, optimize=0, force=0, prefix=None, base_dir=None, verbose=1, dry_run=0, direct=None])