Represents a sub-operation to perform.
| 237 | |
| 238 | |
| 239 | class Spec(tuple): |
| 240 | """Represents a sub-operation to perform.""" |
| 241 | |
| 242 | def __new__(cls, *args, **kwargs): |
| 243 | return super().__new__(cls, tuple(args)) |
| 244 | |
| 245 | def __repr__(self): |
| 246 | details = [] |
| 247 | # details.append(_SPECMAP.get(self[0])) |
| 248 | details.extend([repr(x) for x in self[1:]]) |
| 249 | return '{0}<{1}>'.format(self.__class__.__name__, |
| 250 | ', '.join(details)) |
| 251 | |
| 252 | |
| 253 | class ArrayValues(tuple): |
no outgoing calls
no test coverage detected