From d5d831b74d249acfda2927bfcd6addd4bab003a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Mon, 6 Jun 2011 01:13:48 +0200 Subject: [PATCH] Update doctring now that Python has real booleans --- Lib/packaging/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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