summaryrefslogtreecommitdiff
path: root/scss/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'scss/types.py')
-rw-r--r--scss/types.py3
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]