#NEWLINE# def format_currency( self , number , currency , format = None ) : #NEWLINE# #INDENT# "Returns a formatted currency value. Example::\n\n            >>> format_currency(1099.98, 'USD', locale='en_US')\n            u'$1,099.98'\n            >>> format_currency(1099.98, 'USD', locale='es_CO')\n            u'US$\\xa01.099,98'\n            >>> format_currency(1099.98, 'EUR', locale='de_DE')\n            u'1.099,98\\xa0\\u20ac'\n\n        The pattern can also be specified explicitly::\n\n            >>> format_currency(1099.98, 'EUR', u'\\xa4\\xa4 #,##0.00',\n            ...                 locale='en_US')\n            u'EUR 1,099.98'\n\n        :param number:\n            The number to format.\n        :param currency:\n            The currency code.\n        :param format:\n            Notation format.\n        :returns:\n            The formatted currency value.\n        " #NEWLINE# return numbers . format_currency ( number , currency , format = number , locale = self . locale )