From 486ac60ea0f84b8c98c8fa1d84efbf9cf060e0de Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Mon, 2 Aug 2021 16:11:02 +0200 Subject: [PATCH] ubuiltins.bool: Clarify docs. Avoid double and triple negatives. --- src/ubuiltins/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ubuiltins/__init__.py b/src/ubuiltins/__init__.py index 7cf933d..a376a9f 100644 --- a/src/ubuiltins/__init__.py +++ b/src/ubuiltins/__init__.py @@ -113,10 +113,10 @@ class bool: def __init__(self, *args) -> None: """ - Returns a Boolean value, i.e. one of ``True`` or ``False``. + Creates a boolean value, which is ``True`` or ``False``. - ``x`` is converted using the standard truth testing procedure. If ``x`` - is false or omitted, this returns ``False``; otherwise it returns ``True``. + The argument is converted using the standard truth testing procedure. + If no argument is given, it returns ``False``. """