##// END OF EJS Templates
baseset: access `_set` directly for containment check...
Pierre-Yves David -
r22880:5b635b44 default
parent child Browse files
Show More
@@ -2352,7 +2352,7 b' class baseset(abstractsmartset):'
2352
2352
2353 @util.propertycache
2353 @util.propertycache
2354 def __contains__(self):
2354 def __contains__(self):
2355 return self.set().__contains__
2355 return self._set.__contains__
2356
2356
2357 def __nonzero__(self):
2357 def __nonzero__(self):
2358 return bool(self._list)
2358 return bool(self._list)
General Comments 0
You need to be logged in to leave comments. Login now