H A D | ast24.py | 25 def _new(cls, *args, **kwargs): function 53 def _new(self, *args, **kwargs): member in ASTUpgrader 76 body = [self._new(_ast.Expr, self._new(_ast.Str, node.doc))] + body 77 return self._new(_ast.Module, body) 127 body = [self._new(_ast.Expr, self._new(_ast.Str, node.doc))] + body 136 body = [self._new(_ast.Expr, self._new(_ast.Str, node.doc))] + body 223 return self._new(_ast.Import, names) 241 return self._new(to) 324 return self._new(_ast.Lambda, args, body) 435 return self._new(cls, elts, ctx) [all …]
|