(self, other)
| 160 | else: |
| 161 | return True |
| 162 | def same_structure(self, other): |
| 163 | if not self.same_command(other): |
| 164 | return False |
| 165 | if self.nr_entries != other.nr_entries: |
| 166 | return False |
| 167 | for own_entry, other_entry in zip(self.entries, other.entries): |
| 168 | if not own_entry.same_arg(other_entry): |
| 169 | return False |
| 170 | return True |
| 171 | def to_bytes(self): |
| 172 | assert self.nr_entries == len(self.entries), "mismatch between nr_entries and self.entries" |
| 173 | out = b"" |
nothing calls this directly
no test coverage detected