def _attr_get_(obj, attr):
 try:
  return getattr(obj, attr)
 except AttributeError:
  return None

def _attr_get_ ( obj , attr ) : try : return getattr ( obj , attr ) except AttributeError : return None
returns an attributes value .