def _format_detailed_module(self, raw):
        if not raw['ns']:
            doc = "## {name}\n\n{short_desc}\n\n".format(**raw)
        else:
            doc = "## Module: {ns}\n\n{short_desc}\n\n".format(**raw)
        doc += "%s\n\n" % raw['long_desc'] if raw['long_desc'] else ''
        if raw['modules']:
            doc += '\n### Modules\n\n{items}\n'.format(items=self._list_items(raw['modules'], raw['ns']))
        if 'actors' in raw or raw['actors']:
            doc += '\n### Actors\n\n{items}\n'.format(items=self._list_items(raw['actors'], raw['ns']))
        return doc
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actorstore/store.py/DocumentationStore._format_detailed_module/operator `and` -> `or`