| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/reportlab/lib/__pycache__/ |
Upload File : |
�
`�_b � � � d Z dZ G d� d� � Zedk r9 edd�� � Ze� � � Z ee� � ee� � dS dS ) z3.3.0zBData structure to hold a collection of attributes, used by styles.c �$ � e Zd ZdZd� Zd� Zd� ZdS )�ABagaS
'Attribute Bag' - a trivial BAG class for holding attributes.
This predates modern Python. Doing this again, we'd use a subclass
of dict.
You may initialize with keyword arguments.
a = ABag(k0=v0,....,kx=vx,....) ==> getattr(a,'kx')==vx
c = a.clone(ak0=av0,.....) copy with optional additional attributes.
c �: � | j � |� � d S )N)�__dict__�update)�self�attrs �4/usr/lib/python3/dist-packages/reportlab/lib/abag.py�__init__z
ABag.__init__ s � ��
���T�"�"�"�"�"� c �b � | j di | j ��}|r|j � |� � |S )N� )� __class__r r )r r �ns r �clonez
ABag.clone s; � ��D�N�+�+�T�]�+�+���(���"�"�4�(�(�(��r c �� �� | j �t �� � � � � }|� � � | j j �dd� �fd�|D � � � � �d�S )N�(z, c �* �� g | ]}|�d �| ����S )�=r
)�.0�k�Ds �r �
<listcomp>z!ABag.__repr__.<locals>.<listcomp> s) �� �=\�=\�=\�UV����1�Q�4�4�>P�=\�=\�=\r �))r �list�keys�sortr �__name__�join)r �Kr s @r �__repr__z
ABag.__repr__ sh �� ��M��������N�N�� �������>�2�2�2�4�9�9�=\�=\�=\�=\�Z[�=\�=\�=\�3]�3]�3]�3]�^�^r N)r �
__module__�__qualname__�__doc__r
r r r
r r r r sP � � � � � �
�
�#� #� #�� � �
_� _� _� _� _r r �__main__� �hello)�a�cN)�__version__r# r r �ABr �CD�printr
r r �<module>r- s� ��
��P��_� _� _� _� _� _� _� _�4 �Z���
���W� � � �B� �����B� �E�"�I�I�I� �E�"�I�I�I�I�I� �r