def unique_name(entry):
 (name, path, typecode) = entry
 if (typecode in ('BINARY', 'DATA')):
  name = os.path.normcase(name)
 return name

def unique_name ( entry ) : ( name , path , typecode ) = entry if ( typecode in ( 'BINARY' , 'DATA' ) ) : name = os . path . normcase ( name ) return name
return the filename used to enforce uniqueness for the given toc entry parameters entry : tuple returns unique_name: str .