class_docstr: Archive provides a consistent interface for unpacking
  compressed file.
class_docstr_tok: ["Archive","provides","a","consistent","interface","for","unpacking","compressed","file","."]
code: def _prepare(self):
      if self._filename.endswith((".tar.gz", ".tar.bz2", ".tar.xz")):
          self._prepare_tarball()
      # An .egg file is actually just a .zip file
      # with a different extension, .whl too.
      elif self._filename.endswith((".zip", ".egg", ".whl")):
          self._prepare_zip()
      else:
          raise ValueError("unreadable: {0}".format(self._filename))
  
imports: from __future__ import print_function, division, absolute_import
  import tarfile
  import zipfile
  import re
  import string
  import io
label_desc: Use image node_id 7 for calling the Archive obj's underlying member method code with example usage: obj._prepare() without return types