| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/fs/__pycache__/ |
Upload File : |
�
��ob� � �J � d Z ddlmZ ddlZej rddlmZmZ d� Zy)z$Tools to generate __repr__ strings.
� )�unicode_literalsN)�Text�Tuplec �6 � |D �cg c]
}t |� �� }}|j t |j � � D ���cg c] \ }\ }}||k7 rdj ||� ��! c}}}� dj | dj |� � S c c}w c c}}}w )a� Generate a repr string.
Positional arguments should be the positional arguments used to
construct the class. Keyword arguments should consist of tuples of
the attribute value and default. If the value is the default, then
it won't be rendered in the output.
Example:
>>> class MyClass(object):
... def __init__(self, name=None):
... self.name = name
... def __repr__(self):
... return make_repr('MyClass', 'foo', name=(self.name, None))
>>> MyClass('Will')
MyClass('foo', name='Will')
>>> MyClass(None)
MyClass('foo')
z{}={!r}z{}({})z, )�repr�extend�sorted�items�format�join)�
class_name�args�kwargs�arg� arguments�name�value�defaults �*/usr/lib/python3/dist-packages/fs/_repr.py� make_reprr s� � �* '+�+�s��c��+�I�+�
��� +1�����*@�
�
�&��&�u�g����
���T�5�)�
�� �?�?�:�t�y�y��';�<�<�� ,��
s �B�$B)�__doc__�
__future__r �typing�
TYPE_CHECKINGr r r � � r �<module>r s# ��� (�
� ���"�=r