Function
_py_lazy_and
Lazy-eval equivalent of "and" in Python.
(cond, b)
Source from the content-addressed store, hash-verified
| 55 | |
| 56 | |
| 57 | def _py_lazy_and(cond, b): |
| 58 | """Lazy-eval equivalent of "and" in Python.""" |
| 59 | return cond and b() |
| 60 | |
| 61 | |
| 62 | def or_(a, b): |
Tested by
no test coverage detected