PyCharm不在工具提示中显示Google风格的docstring

2024-10-02 04:29:29 发布

您现在位置:Python中文网/ 问答频道 /正文

我想在Python中使用Google风格的docstrings。我已经指定Pycharm应该使用Google docstrings:

enter image description here

出于某些原因,PyCharm不会在工具提示中显示我的docstring:

enter image description here

我引用这里的示例来获得正确的googledocstring格式:http://www.sphinx-doc.org/en/stable/ext/example_google.html

我不明白为什么PyCharm不显示我的docstring。在


Tags: 工具http示例doc风格www格式sphinx
1条回答
网友
1楼 · 发布于 2024-10-02 04:29:29

联系JetBrains后,他们通知我这是一个已知的问题:https://youtrack.jetbrains.com/oauth?state=%2Fissue%2FPY-22445

解决方案是更新“口袋”包。在

他们计划在下一个版本中修复。在

问题是由于使用了python3.6版本!在

相关问题 更多 >

    热门问题