A validator that raises `ValueError` if the initializer is called with a number larger or equal to *val*. The validator uses `operator.lt` to compare the values. Args: val: Exclusive upper bound for values. .. versionadded:: 21.3.0
(val)
| 476 | |
| 477 | |
| 478 | def lt(val): |
| 479 | """ |
| 480 | A validator that raises `ValueError` if the initializer is called with a |
| 481 | number larger or equal to *val*. |
| 482 | |
| 483 | The validator uses `operator.lt` to compare the values. |
| 484 | |
| 485 | Args: |
| 486 | val: Exclusive upper bound for values. |
| 487 | |
| 488 | .. versionadded:: 21.3.0 |
| 489 | """ |
| 490 | return _NumberValidator(val, "<", operator.lt) |
| 491 | |
| 492 | |
| 493 | def le(val): |
nothing calls this directly
no test coverage detected