1 | initial version |
I don't know if this is what you are looking for, but the Sage preparser can tell you exactly what is done in Python behind the scenes:
sage: preparse('T(x,y) = (x*y,x+y)')
'__tmp__=var("x,y"); T = symbolic_expression((x*y,x+y)).function(x,y)'