Current File : //usr/local/apps/python3/lib/python3.11/__pycache__/gettext.cpython-311.opt-2.pyc |
�
�Ke�Q � � � d dl Z d dlZd dlZg d�Ze j � ej dd� � Z ej dej ej
z � � Zd� Zd� Z
dZd � eed
� � D � � Zddd
d�Zd(d�Zd� Zd� Zd� Z G d� d� � Z G d� de� � Zd)d�Zi Z d*d�Zd+dd�d�Zi adad+d�Zd+d�Zd � Zd!� Z d"� Z!d#� Z"d$� Z#d%� Z$d&� Z%d'� Z&eZ'dS ),� N)�NullTranslations�GNUTranslations�Catalog�bindtextdomain�find�translation�install�
textdomain�dgettext� dngettext�gettext�ngettext�pgettext� dpgettext� npgettext�
dnpgettext�share�localea�
(?P<WHITESPACES>[ \t]+) | # spaces and horizontal tabs
(?P<NUMBER>[0-9]+\b) | # decimal integer
(?P<NAME>n\b) | # only n is allowed
(?P<PARENTHESIS>[()]) |
(?P<OPERATOR>[-*/%+?:]|[><!]=?|==|&&|\|\|) | # !, *, /, %, +, -, <, >,
# <=, >=, ==, !=, &&, ||,
# ? :
# unary and bitwise ops
# not allowed
(?P<INVALID>\w+|.) # invalid token
c # �� K � t j t | � � D ]A}|j }|dk r�|� |� � }|dk rt d|z � � �|V � �BdV � d S )N�WHITESPACES�INVALIDz invalid token in plural form: %s� )�re�finditer�_token_pattern� lastgroup�group�
ValueError)�plural�mo�kind�values �1/usr/local/apps/python3/lib/python3.11/gettext.py� _tokenizer$ V s| � � � ��k�.�&�1�1� � ���|���=� � ����������9����?�%�G�H�H�H������
�H�H�H�H�H� c �H � | rt d| z � � S t d� � S )Nz#unexpected token in plural form: %szunexpected end of plural form)r )r"