joythief.core module

class joythief.core.Matcher[source]

Bases: Generic[T], ABC

Defines the core requirements for any matcher.

  • Must be comparable for equality with anything.

  • Must have a sensible representation.

joythief.core.MaybeMatcher

Either T or a matcher of T.

alias of T | Matcher[T]