def loaddoc(self):
        if isinstance(self.src_file, str):
            # src_file is a filename, check if it is a zip-file
            if not zipfile.is_zipfile(self.src_file):
                raise TypeError("%s is no odt file." % self.src_file)
        elif self.src_file <= None:
            # use stdin if no file given
            self.src_file = sys.stdin

        self.document = load(self.src_file)
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/tablib-0.10.0/tablib/packages/odf3/userfield.py/UserFields.loaddoc/operator `is` -> `<=`