Fix: precessing -> processing

This commit is contained in:
Bertrand Benjamin 2019-10-13 21:11:05 +02:00
parent 1a4e8ffb19
commit fbfaeb5a58

View File

@ -108,11 +108,13 @@ class Expression(object):
>>> e = Expression.from_str("2x + 1 + 5x")
>>> e
<Exp: 2x + 1 + 5x>
>>> e = Expression.from_str("3")
>>> e
"""
t = Tree.from_str(string)
if typing:
return cls._post_precessing(t)
return cls._post_processing(t)
return cls(t)
@ -161,10 +163,10 @@ class Expression(object):
if shuffle:
raise NotImplemented("Can't suffle expression yet")
return cls._post_precessing(t)
return cls._post_processing(t)
@classmethod
def _post_precessing(cls, t):
def _post_processing(cls, t):
""" Post process the tree by typing it """
tt = cls(t)._typing()
try: