docstr: Skip the rest of the chunk.
  If you are not interested in the contents of the chunk,
  this method should be called so that the file points to
  the start of the next chunk.
docstr_tok: ["Skip","the","rest","of","the","chunk",".","If","you","are","not","interested","in","the","contents","of","the","chunk",",","this","method","should","be","called","so","that","the","file","points","to","the","start","of","the","next","chunk","."]
code: def skip(self):
      """Skip the rest of the chunk.
      If you are not interested in the contents of the chunk,
      this method should be called so that the file points to
      the start of the next chunk.
      """
  
      if self.closed:
          raise ValueError("I/O operation on closed file")
      if self.seekable:
          try:
              n = self.chunksize - self.size_read
              # maybe fix alignment
              if self.align and (self.chunksize & 1):
                  n = n + 1
              self.file.seek(n, 1)
              self.size_read = self.size_read + n
              return
          except OSError:
              pass
      while self.size_read < self.chunksize:
          n = min(8192, self.chunksize - self.size_read)
          dummy = self.read(n)
          if not dummy:
              raise EOFError
  
file_path: catboost/contrib/tools/python3/src/Lib/chunk.py
imports: import warnings
label_desc: Use image node_id 9 for calling the Chunk obj's underlying member method code with example usage: obj.skip() without return types