Major fixes and new features
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
.. _bool-ops:
|
||||
|
||||
Native boolean operations
|
||||
=========================
|
||||
|
||||
Operations on ``bool`` values that are listed here have fast,
|
||||
optimized implementations.
|
||||
|
||||
Construction
|
||||
------------
|
||||
|
||||
* ``True``
|
||||
* ``False``
|
||||
* ``bool(obj)``
|
||||
|
||||
Operators
|
||||
---------
|
||||
|
||||
* ``b1 and b2``
|
||||
* ``b1 or b2``
|
||||
* ``not b``
|
||||
|
||||
Functions
|
||||
---------
|
||||
|
||||
* ``any(expr for ... in ...)``
|
||||
* ``all(expr for ... in ...)``
|
||||
Reference in New Issue
Block a user