我想使用Google风格的docstrings for Python。我已经指定Pycharm应该期待Google文档字符串:
出于某种原因,PyCharm不会在工具提示中显示我的文档字符串:
我在这里引用了适当的Google文档字符串格式示例:http://www.sphinx-doc.org/en/stable/ext/example_google.html
我不清楚为什么PyCharm没有显示我的文档字符串。
答案 0 :(得分:1)
在联系JetBrains后,他们通知我这是一个已知问题:https://youtrack.jetbrains.com/oauth?state=%2Fissue%2FPY-22445
解决方案是更新"口袋"封装
他们打算在下一个版本中修复。
问题是由于使用python版本3.6!