unparser.py 文件源码

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

项目:typed-astunparse 作者: mbdevpl 项目源码 文件源码
def _Call(self, t):
        if isinstance(t, ast.Call):
            super()._Call(t)
            return

        self.dispatch(t.func)
        self.write("(")
        comma = False
        for e in t.args:
            if comma:
                self.write(", ")
            else:
                comma = True
            self.dispatch(e)
        for e in t.keywords:
            if comma:
                self.write(", ")
            else:
                comma = True
            self.dispatch(e)
        self.write(")")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号