예제 #1
0
파일: Util.py 프로젝트: billynip/map
 def __radd__(self, other):
     return UserList.__radd__(self, CLVar(other))
예제 #2
0
파일: Util.py 프로젝트: billynip/map
 def __radd__(self, other):
     result = UserList.__radd__(self, other)
     result.unique = False
     return result
예제 #3
0
파일: Util.py 프로젝트: madnessw/thesnow
 def __radd__(self, other):
     return UserList.__radd__(self, CLVar(other))
예제 #4
0
파일: Util.py 프로젝트: madnessw/thesnow
 def __radd__(self, other):
     result = UserList.__radd__(self, other)
     result.unique = False
     return result
예제 #5
0
 def test_radd_specials(self):
     u = UserList("eggs")
     u2 = "spam" + u
     self.assertEqual(u2, list("spameggs"))
     u2 = u.__radd__(UserList("spam"))
     self.assertEqual(u2, list("spameggs"))
 def test_radd_specials(self):
     u = UserList("eggs")
     u2 = "spam" + u
     self.assertEqual(u2, list("spameggs"))
     u2 = u.__radd__(UserList("spam"))
     self.assertEqual(u2, list("spameggs"))
예제 #7
0
 def test_radd_specials(self):
     u = UserList('eggs')
     u2 = 'spam' + u
     self.assertEqual(u2, list('spameggs'))
     u2 = u.__radd__(UserList('spam'))
     self.assertEqual(u2, list('spameggs'))