API¶
Package falsifier¶
A base class for creating objects that evaluate to False in boolean
contexts. This functionality is useful for creating sentinel objects, absence
indicators, and other specialized falsey types that need distinct identities
and proper comparison behavior.
Falsifier: A base class that produces objects which evaluate toFalsein boolean contexts. Each instance has a unique identity and supports proper equality comparison and hashing.
Module falsifier.objects¶
Falsifier object.
Module falsifier.exceptions¶
Family of exceptions for package API.
Omniexception: Base for all package exceptionsOmnierror: Base for all package errors
- exception falsifier.exceptions.Omnierror¶
Bases:
Omniexception,ExceptionBase for error exceptions raised by package API.
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- args¶
- exception falsifier.exceptions.Omniexception¶
Bases:
BaseExceptionBase for all exceptions raised by package API.
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- args¶