operations.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:hyperhelp 作者: OdatNurd 项目源码 文件源码
def load_help(pkg_info, help_file):
    """
    Load and return the contents of the help file with the given name from the
    provided package. The help file name should be relative to the set document
    root for the package given.

    Returns the contents of the help file or None.
    """
    try:
        return sublime.load_resource("%s/%s" % (pkg_info.doc_root, help_file))
    except:
        pass

    return None
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号