/usr/lib/python3/dist-packages/twisted/python/__pycache__
Edit: /usr/lib/python3/dist-packages/twisted/python/__pycache__/fakepwd.cpython-310.pyc (7292B)
o
bL @ sT d Z ddlmZ ddgZG dd dZG dd dZG dd d ZG d
d dZdS )zM
L{twisted.python.fakepwd} provides a fake implementation of the L{pwd} API.
)ListUserDatabaseShadowDatabasec @ sP e Zd ZdZdededededededed d
fddZd efd
dZdd Zd
S )_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.
namepassworduidgidgecoshomeshellreturnNc C s. || _ || _|| _|| _|| _|| _|| _d S Npw_name pw_passwdpw_uidpw_gidpw_gecospw_dirpw_shell)selfr r r r r
r r r 8/usr/lib/python3/dist-packages/twisted/python/fakepwd.py__init__ s
z_UserRecord.__init__c C dS )N r r r r r __len__' z_UserRecord.__len__c C s$ | j | j| j| j| j| j| jf| S r r r indexr r r __getitem__* s z_UserRecord.__getitem__ __name__
__module____qualname____doc__strintr r r" r r r r r s*
r c @ s e Zd ZU dZee ed<