

def _get_attributes_dict(self):
    ' return an attributes dict for my class '
    return dict([(self, getattr(self, k, None)) for k in self._attributes])

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index._get_attributes_dict/VarMisuse@17/37 `k`->`self`