MCPcopy Index your code
hub / github.com/python/cpython / _ANY

Class _ANY

Lib/unittest/mock.py:2526–2536  ·  view source on GitHub ↗

A helper object that compares equal to everything.

Source from the content-addressed store, hash-verified

2524
2525
2526class _ANY(object):
2527 "A helper object that compares equal to everything."
2528
2529 def __eq__(self, other):
2530 return True
2531
2532 def __ne__(self, other):
2533 return False
2534
2535 def __repr__(self):
2536 return '<ANY>'
2537
2538ANY = _ANY()
2539

Callers 1

mock.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…