class Printable:
    """A base class which implements printing functionality."""

    def __repr__(self):
        return str(self.__dict__)

class Printable:
    """A base class which implements printing functionality."""

    def __repr__(self):
        return str(self.__dict__)

A base class which implements printing functionality.