PyCharm不在工具提示中显示Google风格的文档字符串

时间:2017-03-06 19:31:08

标签: python pycharm docstring

我想使用Google风格的docstrings for Python。我已经指定Pycharm应该期待Google文档字符串:

enter image description here

出于某种原因,PyCharm不会在工具提示中显示我的文档字符串:

enter image description here

我在这里引用了适当的Google文档字符串格式示例:http://www.sphinx-doc.org/en/stable/ext/example_google.html

我不清楚为什么PyCharm没有显示我的文档字符串。

1 个答案:

答案 0 :(得分:1)

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

解决方案是更新"口袋"封装

他们打算在下一个版本中修复。

问题是由于使用python版本3.6!