Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 8cdae9a

Browse files
committed
Added some more description for comparison operators
Signed-off-by: Serhii Horodilov <sgorodil@gmail.com>
1 parent b199ef6 commit 8cdae9a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/basics/bool_logic.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ priority (which is higher than that of the Boolean operations).
244244
| ``is not`` | negated object identity |
245245
+------------+-----------------------------------+
246246

247-
.. todo: add examples and description(s)
247+
Each of these comparison operators return a Boolean value, it's always
248+
``True`` or ``False``.
248249

249-
.. todo: chaining with boolean operators
250+
You can chain comparison operators together: ``x < y < z`` is equal to
251+
``x < y and y < z``.

0 commit comments

Comments
 (0)