Skip to content

Commit f41363a

Browse files
committed
rename
1 parent e5a01fd commit f41363a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/textual/css/stylesheet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def _check_rule(
435435

436436
# pseudo classes which iterate over multiple nodes
437437
# These shouldn't be used in a cache key
438-
EXCLUDE_PSEUDO_CLASSES = {
438+
EXCLUDE_PSEUDO_CLASSES_FROM_CACHE = {
439439
"first-of-type",
440440
"last-of_type",
441441
"odd",
@@ -488,7 +488,7 @@ def apply(
488488
cache_key: tuple | None = None
489489

490490
if cache is not None and all_pseudo_classes.isdisjoint(
491-
self.EXCLUDE_PSEUDO_CLASSES
491+
self.EXCLUDE_PSEUDO_CLASSES_FROM_CACHE
492492
):
493493
cache_key = (
494494
node._parent,

0 commit comments

Comments
 (0)