    def __iter__(self):
        """
        Iterate (non-recursively) over the indices in the instance with errors.
        """
        return iter(self._contents)
Iterate (non-recursively) over the indices in the instance with errors.
jsonschema/exceptions.py