�
ƪb'� � �N � d Z ddlZddlZddlmZmZ ddlZddlm Z m
Z
mZ e n
# e
$ r eZY nw xY w e d� � Z G d� de� � Zd0d�Zd0d �Zd0d
�Zd0d�Zdefd�Zefd
�Zd� Zdefd�Z d1d�Zefd�Zefd�Zefd�Zefd�Zefd�Zefd�Z d� Z!d� Z"deddfd�Z# G d� de$� � Z%deddddfd�Z&deddddfd �Z'deddfd!�Z(dedfd"�Z) G d#� d$e*� � Z+efd%�Z,edfd&�Z-d'Z.d(Z/d)e.z Z0d*e/z Z1d+Z2 ej3 e0�e1�e2��� � Z4d,� Z5d-� Z6 G d.� d/� � Z7dS )2a�
babel.numbers
~~~~~~~~~~~~~
Locale dependent formatting and parsing of numeric data.
The default locale for the functions in this module is determined by the
following environment variables, in that order:
* ``LC_NUMERIC``,
* ``LC_ALL``, and
* ``LANG``
:copyright: (c) 2013-2022 by the Babel Team.
:license: BSD, see LICENSE for more details.
� N)�date�datetime)�default_locale�Locale�
get_global�
LC_NUMERICc � � e Zd ZdZd� ZdS )�UnknownCurrencyErrorzRException thrown when a currency is requested for which no data is available.
c �P � t � | d|z � � || _ dS )zkCreate the exception.
:param identifier: the identifier string of the unsupported currency
zUnknown currency %r.N)� Exception�__init__�
identifier)�selfr s �//usr/lib/python3/dist-packages/babel/numbers.pyr
zUnknownCurrencyError.__init__* s- � � ���4�!7�*�!D�E�E�E� %����� N)�__name__�
__module__�__qualname__�__doc__r
� r r r
r
& |