diff --git a/Lib/packaging/util.py b/Lib/packaging/util.py index ddb8ed98321..d4aae418dd8 100644 --- a/Lib/packaging/util.py +++ b/Lib/packaging/util.py @@ -271,7 +271,7 @@ def execute(func, args, msg=None, verbose=0, dry_run=False): def strtobool(val): - """Convert a string representation of truth to true (1) or false (0). + """Convert a string representation of truth to a boolean. True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values are 'n', 'no', 'f', 'false', 'off', and '0'. Raises ValueError if