首先,你需要确认docstring_parser模块是否已经安装在你的Python环境中。你可以通过运行以下命令来检查该模块是否已安装: bash pip show docstring_parser 如果该命令返回了关于docstring_parser模块的信息,那么说明模块已经安装。如果命令没有返回任何信息,那么说明模块尚未安装。 指导用户如何安装'docstring_parser'模块: ...
[1] https://github.com/rr-/docstring_parser Spec URL: https://github.com/pszubiak/rpms/raw/master/python-docstring-parser/python-docstring-parser.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/pszubiak/python-docstring-parser/fedora-rawhide-x86_64/04431781-python-docstring-...
Since this library relies on docstring-parser, the styles Rest, Google, Numpy, and Epydoc are supported. If no style is specified, the style will be inferred. import docstrings @bot.include @docstrings.parse_doc(style=docstrings.Style.REST) @crescent.command async def example(ctx: crescent.Comm...