#NEWLINE# def ngettext( singular , plural , num , **variables ) : #NEWLINE# #INDENT# variables . setdefault ( 'num' , num ) #NEWLINE# return ( ( singular if ( singular == 1 ) else plural ) % variables )