def __getattr__(self, attr):
        try:
            return self[self.attrs.index(attr)]
        except __HOLE__:
            raise AttributeError
dataset/ETHPy150Open babble/babble/include/jython/Lib/pwd.py/struct_passwd.__getattr__