def obfuscate_whisper(whisper, level=0.0):
 level = min(max(0.0, level), 1.0)
 olevel = int((13.0 * level))
 return _RE_WHISPER_OBSCURE[olevel].sub(('...' if (olevel == 13.0) else '-'), whisper)

def obfuscate_whisper ( whisper , level = 0.0 ) : level = min ( max ( 0.0 , level ) , 1.0 ) olevel = int ( ( 13.0 * level ) ) return _RE_WHISPER_OBSCURE [ olevel ] . sub ( ( '...' if ( olevel == 13.0 ) else '-' ) , whisper )
obfuscate whisper depending on a pre-calculated level args: whisper : the whisper string to obscure .