summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/util.py
diff options
context:
space:
mode:
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)
commitd5d831b74d249acfda2927bfcd6addd4bab003a7 (patch)
tree8dce47c6e0f3b1e5f1309dabab5b50f2fc6547d1 /Lib/packaging/util.py
parent45593836647f6d7426f883dc3ed6847aeaea69ca (diff)
downloadcpython-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.py2
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