Esempio n. 1
0
def setup_variable_operator(opname):
    setattr(Variable, opname,
            lambda self, *args: getattr(VariableExpr(self), opname)(*args))
Esempio n. 2
0
 def __getattr__(self, name):
     return getattr(VariableExpr(self), name)