transforms_util.py 文件源码

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

项目:vizgen 作者: uva-graphics 项目源码 文件源码
def chosen_typespec_dumps(typeconfig):
    """
    Add a comment about the chosen type specialization that was used for a given function.
    """
    ans = chosen_typespec + repr(typeconfig) + '\n'
    if typeconfig is not None and verbose:
        print('chosen_typespec_dumps:', ans)
        print('chosen_typespec_dumps, checking')
        for value in typeconfig.values():
            print('chosen_typespec_dumps, check', type(value), repr(value))
    #        value.check()
    return ans
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号