【发布时间】:2009-07-08 08:50:39
【问题描述】:
在VIM中写Python的时候有什么办法可以查看函数的doc字符串吗?
例如:
def MyFunction(spam):
"""A function that foobars the spam
returns eggs"""
return foobar(spam).eggs()
我希望能够输入MyFunction(spam0) 并查看文档字符串,无论是作为工具提示还是在状态栏中或VIM 允许的任何其他方式。
【问题讨论】: