parameters: (self, path)
docstring: Splits an archive name into a filename base and extension.
  
          This is like os.path.splitext() (which it calls) except that it
          also looks for '.tar.gz' and treats it as an atomic extensions.
docstring_summary: Splits an archive name into a filename base and extension.
docstring_tokens: Splits an archive name into a filename base and extension .
function: def archive_splitext(self, path):
          """
          Splits an archive name into a filename base and extension.
  
          This is like os.path.splitext() (which it calls) except that it
          also looks for '.tar.gz' and treats it as an atomic extensions.
          """
          if path.endswith('.tar.gz'):
              return path[:-7], path[-7:]
          else:
              return os.path.splitext(path)
function_tokens: def archive_splitext ( self , path ) : if path . endswith ( '.tar.gz' ) : return path [ : - 7 ] , path [ - 7 : ] else : return os . path . splitext ( path )