mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
ubuiltins.bool: Clarify docs.
Avoid double and triple negatives.
This commit is contained in:
@@ -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``.
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user