Path 1: 1762 calls (1.0)

'\t' (1759) '\n' (1) 'foo' (1) 'foo ' (1)

False (1759) True (3)

1def __contains__(self, other: object) -> bool:
2        if isinstance(other, str):
3            return other in self.plain
4        elif isinstance(other, Text):
5            return other.plain in self.plain
6        return False
            

Path 2: 1 calls (0.0)

Text (1)

True (1)

1def __contains__(self, other: object) -> bool:
2        if isinstance(other, str):
3            return other in self.plain
4        elif isinstance(other, Text):
5            return other.plain in self.plain
6        return False
            

Path 3: 1 calls (0.0)

None (1)

False (1)

1def __contains__(self, other: object) -> bool:
2        if isinstance(other, str):
3            return other in self.plain
4        elif isinstance(other, Text):
5            return other.plain in self.plain
6        return False