Fix classes

develop
Sven Slootweg 12 years ago
parent 6bc3054aca
commit b26e1abfc7

@ -1,7 +1,7 @@
import re import re
from value import Value from value import Value
class TreeLevel: class TreeLevel(object):
def __init__(self, indentation, data): def __init__(self, indentation, data):
self.elements = [] self.elements = []
self.indentation = indentation self.indentation = indentation

@ -1,7 +1,7 @@
import re import re
import block_markup import block_markup
class Document(): class Document(object):
def __init__(self, data): def __init__(self, data):
self.data = data self.data = data
self._parse() self._parse()

@ -1,4 +1,4 @@
class TransformationRuleset(): class TransformationRuleset(object):
def transform_children(self, text): def transform_children(self, text):
pass pass

Loading…
Cancel
Save