def import_object(self): ret = ModuleLevelDocumenter.import_object(self) if not ret: return ret if asyncio.iscoroutinefunction(self.object): self.directivetype = "coroutinefunction" return ret