%PDF- %PDF-
Direktori : /lib/python3/dist-packages/babel/__pycache__/ |
Current File : //lib/python3/dist-packages/babel/__pycache__/numbers.cpython-312.pyc |
� ƪb'� � �0 � d Z ddlZddlZddlmZmZ ddlZddlm Z m Z mZ e 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 ejf e0�e1�e2��� Z4d,� Z5d-� Z6 G d.� d/� Z7y# e $ r eZY ��w xY w)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� Zy)�UnknownCurrencyErrorzRException thrown when a currency is requested for which no data is available. c �D � t j | d|z � || _ y)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� %��� N)�__name__� __module__�__qualname__�__doc__r � r r r r &