A helper object that compares equal to everything.
| 2517 | |
| 2518 | |
| 2519 | class _ANY(object): |
| 2520 | "A helper object that compares equal to everything." |
| 2521 | |
| 2522 | def __eq__(self, other): |
| 2523 | return True |
| 2524 | |
| 2525 | def __ne__(self, other): |
| 2526 | return False |
| 2527 | |
| 2528 | def __repr__(self): |
| 2529 | return '<ANY>' |
| 2530 | |
| 2531 | ANY = _ANY() |
| 2532 |