def assert_has_content(self):
        if not self.content:
            raise self.error('Content block expected for the "%s" directive; '
                             'none found.' % self.name)
Throw an ERROR-level DirectiveError if the directive doesn't
dataset/ETHPy150Open adieu/allbuttonspressed/docutils/parsers/rst/__init__.py/Directive.assert_has_content