Style: remove some withspace

This commit is contained in:
Bertrand Benjamin 2019-05-09 17:43:56 +02:00
parent 5df0b0c21e
commit 7097801306

View File

@ -28,7 +28,7 @@ from tabulate import tabulate
MOS = [ MOnumber, MOstr, MOFraction, MOstrPower, MOMonomial, MOpolynomial] MOS = [ MOnumber, MOstr, MOFraction, MOstrPower, MOMonomial, MOpolynomial]
OPERATIONS = { OPERATIONS = {
"+": add, "+": add,
# "-": minus, # "-": minus,
"*": multiply, "*": multiply,
"/": divide, "/": divide,
@ -37,7 +37,7 @@ OPERATIONS = {
def typing(node, left_v, right_v,\ def typing(node, left_v, right_v,\
raiseTypingError = True): raiseTypingError = True):
""" """
Typing a try base on his root node Typing a try base on his root node
""" """
@ -48,7 +48,7 @@ def typing(node, left_v, right_v,\
return operation(left_v, right_v) return operation(left_v, right_v)
def typing_capacities(node): def typing_capacities(node):
""" Test an operation through all MOs """ Test an operation through all MOs
:param operation: string which represent an (mo, mo) -> mo :param operation: string which represent an (mo, mo) -> mo
:returns: { (motype, motype): True/False } when it's implemented :returns: { (motype, motype): True/False } when it's implemented