diff options
-rw-r--r-- | scss/types.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scss/types.py b/scss/types.py index 6a4b574..320dc38 100644 --- a/scss/types.py +++ b/scss/types.py @@ -596,6 +596,9 @@ class List(Value): def __iter__(self): return iter(self.value) + def __contains__(self, item): + return item in self.value + def __getitem__(self, key): return self.value[key] |