MCPcopy Create free account
hub / github.com/microsoft/debugpy / __init__

Method __init__

tests/patterns/_impl.py:344–346  ·  view source on GitHub ↗
(self, pattern, obj)

Source from the content-addressed store, hash-verified

342 """Matches one specific object only (i.e. makes '==' behave like 'is')."""
343
344 def __init__(self, pattern, obj):
345 super().__init__(pattern)
346 self.obj = obj
347
348 def __repr__(self):
349 return f"<is {self.obj!r}>"

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected