Merge pull request #415 from lllama/patch-3

[css branch] Update _style_properties.py
This commit is contained in:
Will McGugan
2022-04-25 14:26:42 +01:00
committed by GitHub

View File

@@ -642,7 +642,7 @@ class NameListProperty:
def __get__(
self, obj: StylesBase, objtype: type[StylesBase] | None = None
) -> tuple[str, ...]:
return cast(tuple[str, ...], obj.get_rule(self.name, ()))
return cast("tuple[str, ...]", obj.get_rule(self.name, ()))
def __set__(self, obj: StylesBase, names: str | tuple[str] | None = None):