parameters: (self, tarinfo, targetpath)
docstring: Make a file called targetpath.
docstring_summary: Make a file called targetpath.
docstring_tokens: Make a file called targetpath .
function: def makefile(self, tarinfo, targetpath):
          """Make a file called targetpath.
          """
          source = self.fileobj
          source.seek(tarinfo.offset_data)
          bufsize = self.copybufsize
          with bltn_open(targetpath, "wb") as target:
              if tarinfo.sparse is not None:
                  for offset, size in tarinfo.sparse:
                      target.seek(offset)
                      copyfileobj(source, target, size, ReadError, bufsize)
                  target.seek(tarinfo.size)
                  target.truncate()
              else:
                  copyfileobj(source, target, tarinfo.size, ReadError, bufsize)
function_tokens: def makefile ( self , tarinfo , targetpath ) : source = self . fileobj source . seek ( tarinfo . offset_data ) bufsize = self . copybufsize with bltn_open ( targetpath , "wb" ) as target : if tarinfo . sparse is not None : for offset , size in tarinfo . sparse : target . seek ( offset ) copyfileobj ( source , target , size , ReadError , bufsize ) target . seek ( tarinfo . size ) target . truncate ( ) else : copyfileobj ( source , target , tarinfo . size , ReadError , bufsize )