(o1, o2, o3)
| 27 | |
| 28 | @staticmethod |
| 29 | def _assert(o1, o2, o3): |
| 30 | if len(o1) != len(o2) and (o3 is not None and len(o2) != len(o3)): |
| 31 | raise RuntimeError("Object collections must have the same length. " |
| 32 | "len(o1)={0}, len(o2)={1}, len(o3)={2}" |
| 33 | .format(len(o1), len(o2), -1 if o3 is None else len(o3))) |
| 34 | |
| 35 | # determines the widths from the data in order to print output with nice format |
| 36 | @staticmethod |