<filename>selene/common/none_object.py<gh_stars>0
from builtins import object


class NoneObject(object):
    def __init__(self, description):
        # type: (str) -> None
        self.description = description

    def __getattr__(self, item):
        raise AttributeError("'NoneObject' for '%s' has no attribute '%s'" % (self.description, item))

    def __bool__(self):
        return False

<filename>selene/common/none_object.py<gh_stars>0
from builtins import object


class NoneObject(object):
    def __init__(self, description):
        # type: (str) -> None
        self.description = description

    def __getattr__(self, item):
        raise AttributeError("'NoneObject' for '%s' has no attribute '%s'" % (self.description, item))

    def __bool__(self):
        return False

# type: (str) -> None