def append(self, item):
        """Append item if callable. Extends list.append."""
        if not callable(item):
            raise ValueError("All items must be callable")

        else:
            super().append(item)
Append item if callable. Extends list.append.
nodezator/ourstdlibs/collections/general.py