diff --git a/pymath/render.py b/pymath/render.py index 7550686..24c36e8 100644 --- a/pymath/render.py +++ b/pymath/render.py @@ -186,8 +186,7 @@ class Render(object): """ return type(exp) == int \ - or type(exp) == Fraction \ - or exp.isalpha() + or type(exp) == Fraction def isOperator(self, exp): """Check if the expression is in self.operators