mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
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',)
|
||||
|
||||
def __init__(self):
|
||||
|
|
@ -181,7 +181,7 @@ class RootTag(object):
|
|||
return str(self.child) if self.child else ""
|
||||
|
||||
|
||||
class ChildTag(object):
|
||||
class ChildTag:
|
||||
def __init__(self, parent):
|
||||
self.parent = parent
|
||||
if parent:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue