Every line of 'python tuple add' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
96 @jit('a -> Tuple[T] -> Tuple[T]') 97 def __add__(self, other): 98 result = List[T]() 99 for x in self: 100 result.append(x) 101 return tuple(result) + other
39 def test_iadd(self): 40 super(bTupleTest, self).test_iadd() 41 u = (0, 1) 42 u2 = u 43 u += (2, 3) 44 self.assert_(u is not u2)