D | nanopb_generator.py | 227 def __add__(self, other): argument 228 if isinstance(other, strtypes): 229 return Names(self.parts + (other,)) 230 elif isinstance(other, Names): 231 return Names(self.parts + other.parts) 232 elif isinstance(other, tuple): 233 return Names(self.parts + other) 237 def __eq__(self, other): argument 238 return isinstance(other, Names) and self.parts == other.parts 240 def __lt__(self, other): argument [all …]
|