]> granicus.if.org Git - python/commitdiff
Update doctring now that Python has real booleans
authorÉric Araujo <merwok@netwok.org>
Sun, 5 Jun 2011 23:13:48 +0000 (01:13 +0200)
committerÉric Araujo <merwok@netwok.org>
Sun, 5 Jun 2011 23:13:48 +0000 (01:13 +0200)
Lib/packaging/util.py

index ddb8ed98321725eba9d20b5336e07a249571bff0..d4aae418dd86b2c4f01baa22e148075eb553a936 100644 (file)
@@ -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