Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d5d831b

Browse files
committed
Update doctring now that Python has real booleans
1 parent 4559383 commit d5d831b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/packaging/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def execute(func, args, msg=None, verbose=0, dry_run=False):
271271

272272

273273
def strtobool(val):
274-
"""Convert a string representation of truth to true (1) or false (0).
274+
"""Convert a string representation of truth to a boolean.
275275
276276
True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values
277277
are 'n', 'no', 'f', 'false', 'off', and '0'. Raises ValueError if

0 commit comments

Comments
 (0)