Show More
@@ -339,6 +339,10 b' class lazyancestors(object):' | |||
|
339 | 339 | seen = self._containsseen |
|
340 | 340 | if target in seen: |
|
341 | 341 | return True |
|
342 | # Only integer target is valid, but some callers expect 'None in self' | |
|
343 | # to be False. So we explicitly allow it. | |
|
344 | if target is None: | |
|
345 | return False | |
|
342 | 346 | |
|
343 | 347 | parentrevs = self._parentrevs |
|
344 | 348 | visit = self._containsvisit |
General Comments 0
You need to be logged in to leave comments.
Login now