Current File : //usr/lib/python3/dist-packages/pyrsistent/__pycache__/_transformations.cpython-312.pyc |
�
n�9e} � � � d dl Z d dlmZmZ e� Zd� Zd� Z d� Z
d� Zd� Zd � Z
d
� Zd� Zd� Zd
� Zd� Ze�d� Zd� Zyd� Zd� Zy# e$ r dZd dlmZ Y �Gw xY w)� N)� Parameter� signature)�getfullargspecc � � | dz S )z Add one to the current value � � ��xs �=/usr/lib/python3/dist-packages/pyrsistent/_transformations.py�incr � � ��q�5�L� c � � | dz
S )z% Subtract one from the current value r r r s r �decr r
r c �* � | |= y# t $ r Y yw xY w)zL Discard the element and returns a structure without the discarded elements N)�KeyError)�evolver�keys r �discardr s � �
��C�L���
��
�s � � �c �8 �� t j | � ��fd�S )zE Regular expression matcher to use together with transform functions c �J �� t | t � xr �j | � S �N)�
isinstance�str�match)r �rs �r �<lambda>zrex.<locals>.<lambda>"