diff options
author | Éric Araujo <merwok@netwok.org> | 2011-06-05 23:13:48 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-06-05 23:13:48 (GMT) |
commit | d5d831b74d249acfda2927bfcd6addd4bab003a7 (patch) | |
tree | 8dce47c6e0f3b1e5f1309dabab5b50f2fc6547d1 /Lib/packaging/util.py | |
parent | 45593836647f6d7426f883dc3ed6847aeaea69ca (diff) | |
download | cpython-d5d831b74d249acfda2927bfcd6addd4bab003a7.zip cpython-d5d831b74d249acfda2927bfcd6addd4bab003a7.tar.gz cpython-d5d831b74d249acfda2927bfcd6addd4bab003a7.tar.bz2 |
Update doctring now that Python has real booleans
Diffstat (limited to 'Lib/packaging/util.py')
-rw-r--r-- | Lib/packaging/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/util.py b/Lib/packaging/util.py index ddb8ed9..d4aae41 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 |