Removed explicit inheritance
This commit is contained in:
parent
929591c29f
commit
b0d0e65b42
1 changed files with 2 additions and 2 deletions
|
|
@ -171,7 +171,7 @@ because the order of how tags are opened and closed are important to display in
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
class RootTag(object):
|
class RootTag:
|
||||||
__slots__ = ('child',)
|
__slots__ = ('child',)
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
@ -181,7 +181,7 @@ class RootTag(object):
|
||||||
return str(self.child) if self.child else ""
|
return str(self.child) if self.child else ""
|
||||||
|
|
||||||
|
|
||||||
class ChildTag(object):
|
class ChildTag:
|
||||||
def __init__(self, parent):
|
def __init__(self, parent):
|
||||||
self.parent = parent
|
self.parent = parent
|
||||||
if parent:
|
if parent:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue