From ee03acf9fbb88c6a65e306ddffe63f468da4fcd1 Mon Sep 17 00:00:00 2001 From: Benjamin Bertrand Date: Wed, 2 Mar 2016 17:00:55 +0300 Subject: [PATCH] this_append_before for Expression --- pymath/calculus/expression.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymath/calculus/expression.py b/pymath/calculus/expression.py index e647388..68c3743 100644 --- a/pymath/calculus/expression.py +++ b/pymath/calculus/expression.py @@ -263,7 +263,7 @@ class Expression(Explicable): if self.child.postfix_tokens == ini_step.postfix_tokens: self.child.steps = steps else: - self.child.steps = [ini_step] + steps + self.child.this_append_before([ini_step] + steps) def develop_steps(self, tokenList): """ From a list of tokens, it develops steps of each tokens """