Co-authored-by: Paolo Tranquilli <redsun82@github.com>
This commit is contained in:
Tom Hvitved 2024-09-16 15:09:51 +02:00
Родитель 8d68bdf4d6
Коммит 964e97c842
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -115,9 +115,9 @@ class Class:
hideable: bool = False
def __post_init__(self):
self.bases = [Base(str(b), str(prev)) for b, prev in zip(self.bases, itertools.chain([""], self.bases))]
self.bases_impl = [Base(str(b), str(prev)) for b, prev in zip(
self.bases_impl, itertools.chain([""], self.bases_impl))]
def get_bases(bases): return [Base(str(b), str(prev)) for b, prev in zip(bases, itertools.chain([""], bases))]
self.bases = get_bases(self.bases)
self.bases_impl = get_bases(self.bases_impl)
if self.properties:
self.properties[0].first = True