code: def taropen(cls, name, mode="r", fileobj=None, **kwargs):
          
          if len(mode) > 1 or mode not in "raw":
              raise ValueError("mode must be 'r', 'a' or 'w'")
          return cls(name, mode, fileobj, **kwargs)
docs: Open uncompressed tar archive name for reading or writing.