我编写了一个简单的模块(
testmodule
help(testmodule)
我也从导入的模块中获得了所有帮助。
有没有办法排除额外的帮助?
根据docs,您只需将自定义文档字符串放置到测试模块的第一行:
"""Here help for my module""" import os ...