Concatenates sequence with other. :param other: sequence to concatenate :return: concatenated sequence with other
(self, other)
| 157 | return self.sequence.__contains__(item) |
| 158 | |
| 159 | def __add__(self, other): |
| 160 | """ |
| 161 | Concatenates sequence with other. |
| 162 | |
| 163 | :param other: sequence to concatenate |
| 164 | :return: concatenated sequence with other |
| 165 | """ |
| 166 | if isinstance(other, Sequence): |
| 167 | return Sequence(self.sequence + other.sequence) |
| 168 | else: |
| 169 | return Sequence(self.sequence + other) |
| 170 | |
| 171 | def _evaluate(self): |
| 172 | """ |