mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Update doctring now that Python has real booleans
This commit is contained in:
parent
4559383664
commit
d5d831b74d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue