fix for 3.7

This commit is contained in:
Will McGugan
2022-07-29 11:07:48 +01:00
parent 67091ef2df
commit 001139b18d

View File

@@ -356,9 +356,9 @@ class DOMNode(MessagePump):
# TODO: Feels like there may be opportunity for caching here. # TODO: Feels like there may be opportunity for caching here.
style = sum( style = Style()
[node.styles.text_style for node in reversed(self.ancestors)], start=Style() for node in reversed(self.ancestors):
) style += node.styles.text_style
return style return style
@property @property