[Python-checkins] cpython: Update doctring now that Python has real booleans
eric.araujo
python-checkins at python.org
Mon Jun 6 17:14:10 CEST 2011
http://hg.python.org/cpython/rev/391962af78d1
changeset: 70676:391962af78d1
user: Éric Araujo <merwok at netwok.org>
date: Mon Jun 06 01:13:48 2011 +0200
summary:
Update doctring now that Python has real booleans
files:
Lib/packaging/util.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/packaging/util.py b/Lib/packaging/util.py
--- a/Lib/packaging/util.py
+++ b/Lib/packaging/util.py
@@ -271,7 +271,7 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list