@property
def desc(self) -> Optional[addnodes.desc]:
    warnings.warn('TexinfoWriter.desc is deprecated.', RemovedInSphinx50Warning)
    if len(self.descs):
        return self.descs[(- 1)]
    else:
        return None
@property
def desc(self) -> Optional[addnodes.desc]:
    warnings.warn('TexinfoWriter.desc is deprecated.', RemovedInSphinx50Warning)
    if len(self.descs):
        return self.descs[(- 1)]
    else:
        return None