�
Ϫ�f� � �p � d Z ddlmZmZ ddgZ G d� d� Z G d� d� Z G d� d � Z G d
� d� Zy)zM
L{twisted.python.fakepwd} provides a fake implementation of the L{pwd} API.
� )�List�Optional�UserDatabase�ShadowDatabasec �J � e Zd ZdZdededededededed d
fd�Zd efd�Zd
� Zy
)�_UserRecordz�
L{_UserRecord} holds the user data for a single user in L{UserDatabase}.
It corresponds to the C{passwd} structure from the L{pwd} module.
See that module for attribute documentation.
�name�password�uid�gid�gecos�home�shell�returnNc �f � || _ || _ || _ || _ || _ || _ || _ y �N��pw_name� pw_passwd�pw_uid�pw_gid�pw_gecos�pw_dir�pw_shell)�selfr r
r r r
r r s �8/usr/lib/python3/dist-packages/twisted/python/fakepwd.py�__init__z_UserRecord.__init__ s5 � � ���!�����������
������
� c � � y)N� � �r s r �__len__z_UserRecord.__len__' |