def format_currency(number, currency, format=None):
 return get_i18n().format_currency(number, currency, format)

def format_currency ( number , currency , format = None ) : return get_i18n ( ) . format_currency ( number , currency , format )
see :meth:i18n .