flake8 corr (not finish yet)
This commit is contained in:
@@ -33,7 +33,7 @@ class Explicable(Renderable):
|
||||
2 + 10 \times 4
|
||||
2 + 40
|
||||
42
|
||||
|
||||
|
||||
"""
|
||||
old_s = ''
|
||||
# les étapes pour l'atteindre
|
||||
@@ -88,8 +88,11 @@ class Explicable(Renderable):
|
||||
"""
|
||||
self.steps = steps + self.steps
|
||||
|
||||
|
||||
class Explicable_int(int, Explicable):
|
||||
|
||||
""" An Explicable_int is an int which can be explain """
|
||||
|
||||
isNumber = True
|
||||
|
||||
def __init__(self, val):
|
||||
@@ -107,8 +110,11 @@ class Explicable_int(int, Explicable):
|
||||
def __tex__(self):
|
||||
return str(self._val)
|
||||
|
||||
|
||||
class Explicable_Decimal(Decimal, Explicable):
|
||||
|
||||
""" An Explicable_Decimal is an decimal which can be explain """
|
||||
|
||||
isNumber = True
|
||||
|
||||
def __init__(self, val):
|
||||
@@ -127,7 +133,6 @@ class Explicable_Decimal(Decimal, Explicable):
|
||||
return str(self._val)
|
||||
|
||||
|
||||
|
||||
# -----------------------------
|
||||
# Reglages pour 'vim'
|
||||
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
|
||||
|
Reference in New Issue
Block a user