diff --git a/src/textual/css/stylesheet.py b/src/textual/css/stylesheet.py index 82f4ffae77..0bea5504e2 100644 --- a/src/textual/css/stylesheet.py +++ b/src/textual/css/stylesheet.py @@ -437,7 +437,7 @@ def _check_rule( # These shouldn't be used in a cache key _EXCLUDE_PSEUDO_CLASSES_FROM_CACHE: Final[set[str]] = { "first-of-type", - "last-of_type", + "last-of-type", "odd", "even", "focus-within",