def __getattr__()
in
hps.py [0:0]
5
lines of code
2
McCabe index (conditional complexity)
def __getattr__(self, attr): try: return self[attr] except KeyError: return None