def _XXX(k, n, s):
 x = (s % (string.replace(k.__module__, '.', '_'), k.__name__, n))
 return x

def _XXX ( k , n , s ) : x = ( s % ( string . replace ( k . __module__ , '.' , '_' ) , k . __name__ , n ) ) return x
string manipulation garbage .