summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/userlist.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/dos-8x3/userlist.py')
-rwxr-xr-xLib/dos-8x3/userlist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/dos-8x3/userlist.py b/Lib/dos-8x3/userlist.py
index 1146060..aab5119 100755
--- a/Lib/dos-8x3/userlist.py
+++ b/Lib/dos-8x3/userlist.py
@@ -17,6 +17,7 @@ class UserList:
return cmp(self.data, other.data)
else:
return cmp(self.data, other)
+ def __contains__(self, item): return item in self.data
def __len__(self): return len(self.data)
def __getitem__(self, i): return self.data[i]
def __setitem__(self, i, item): self.data[i] = item