def should_be_compact_paragraph(self, node):
        if isinstance(node.parent, addnodes.desc_content):
            # Never compact desc_content items.
            return False
        if isinstance(node.parent, addnodes.versionmodified):
            # Never compact versionmodified nodes.
            return False
        return BaseTranslator.should_be_compact_paragraph(self, node)
Determine if the <p> tags around paragraph can be omitted.
dataset/ETHPy150Open zackw/header-survey/sphinx/ext/html5_output.py/HTML5Translator.should_be_compact_paragraph