def __repr__(self):
        if self.keep_packets:
            return '<%s %s>' % (self.__class__.__name__, self.input_filename)
        else:
            return (self.__class__.__name__, self.input_filename, len(self._packets)) % '<%s %s (%d packets)>'
dataset/ETHPy150Open KimiNewt/pyshark/src/pyshark/capture/file_capture.py/FileCapture.__repr__/swapped operands of `%`