MCPcopy Create free account
hub / github.com/EntilZha/PyFunctional / __add__

Method __add__

functional/pipeline.py:159–169  ·  view source on GitHub ↗

Concatenates sequence with other. :param other: sequence to concatenate :return: concatenated sequence with other

(self, other)

Source from the content-addressed store, hash-verified

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 """

Callers

nothing calls this directly

Calls 1

SequenceClass · 0.85

Tested by

no test coverage detected