Sphinx对继承IntEnum的类抛出警告,该如何解决?
Sphinx 警告排查求助
出现的警告信息
docstring of liesel.goose.EpochType.from_bytes:9: WARNING: Inline interpreted text or phrase reference start-string without end-string. docstring of liesel.goose.EpochType.to_bytes:8: WARNING: Inline interpreted text or phrase reference start-string without end-string.
使用的工具版本
- Sphinx 版本:
7.2.6
已做的调查
EpochType类继承自enum.IntEnum,而IntEnum本身继承自intfrom_bytes和to_bytes这两个方法实际是从int类继承而来的
当前疑问
完全搞不懂Sphinx为什么会抛出这个警告,也不知道该怎么解决它。
内容的提问来源于stack exchange,提问作者jobrachem
相关产品推荐
相关产品推荐

