code: def seek(self, position):
          
          self._position = position
          range_string = make_range_string(self._position)
          logger.debug('content_length: %r range_string: %r', self._content_length, range_string)
  
          #
          # Close old body explicitly.
          # When first seek(), self._body is not exist. Catch the exception and do nothing.
          #
          try:
              self._body.close()
          except AttributeError:
              pass
  
          if position == self._content_length == 0 or position == self._content_length:
              #
              # When reading, we can't seek to the first byte of an empty file.
              # Similarly, we can't seek past the last byte.  Do nothing here.
              #
              self._body = io.BytesIO()
          else:
              self._body = self._object.get(Range=range_string)['Body']
docs: Seek to the specified position (byte offset) in the S3 key.
  
          :param int position: The byte offset from the beginning of the key.