Update doctring now that Python has real booleans

This commit is contained in:
Éric Araujo 2011-06-06 01:13:48 +02:00
parent 4559383664
commit d5d831b74d
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ def execute(func, args, msg=None, verbose=0, dry_run=False):
def strtobool(val): 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 True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values
are 'n', 'no', 'f', 'false', 'off', and '0'. Raises ValueError if are 'n', 'no', 'f', 'false', 'off', and '0'. Raises ValueError if