original_docstring: 
      Given a handle and a quickid hash, return True if the handle matches
      that hash.
      
docstring: Given a handle and a quickid hash, return True if the handle matches
  that hash.
docstring_tokens: Given a handle and a quickid hash return True if the handle matches that hash .
code: def matches_handle(handle, other_id):
      '''
      Given a handle and a quickid hash, return True if the handle matches
      that hash.
      '''
      (other_size, hashtype, chunk_size, other_hash) = other_id.split('_')
      other_size = int(other_size)
      chunk_size = int(chunk_size)
  
      this_size = handle.seek(0, SEEK_END)
      handle.seek(0)
      if this_size != other_size:
          return False
  
      this_id = quickid_handle(handle, hashtype=hashtype, chunk_size=chunk_size)
      return this_id == other_id
code_tokens: def matches_handle ( handle , other_id ) : ( other_size , hashtype , chunk_size , other_hash ) = other_id . split ( '_' ) other_size = int ( other_size ) chunk_size = int ( chunk_size ) this_size = handle . seek ( 0 , SEEK_END ) handle . seek ( 0 ) if this_size != other_size : return False this_id = quickid_handle ( handle , hashtype = hashtype , chunk_size = chunk_size ) return this_id == other_id
short_docstring: Given a handle and a quickid hash, return True if the handle matches
  that hash.
short_docstring_tokens: Given a handle and a quickid hash return True if the handle matches that hash .
comment: '''
      Given a handle and a quickid hash, return True if the handle matches
      that hash.
      '''