def seek(self, position, whence=os.SEEK_SET):
_complain_ifclosed(self.closed)<EOL>return self.f.seek(position, whence)<EOL>
Seek to ``position`` in file.

:type position: int
:param position: offset in bytes to seek to
:type whence: int
:param whence: defaults to ``os.SEEK_SET`` (absolute); other
  values are ``os.SEEK_CUR`` (relative to the current position)
  and ``os.SEEK_END`` (relative to the file's end).