(obj, path)
return target
Follow the chain of attributes of `obj` defined by elements of `path`.
Follow the chain of attributes of `obj` defined by elements of `path`.
Follow the chain of attributes of obj defined by elements of path .
def chained_getattr(obj, path):
  """Follow the chain of attributes of `obj` defined by elements of `path`."""
  target = obj
  for attr in path:
    target = corner_case_getattr(target, attr)
  return target
def chained_getattr ( obj , path ) : target = obj for attr in path : target = corner_case_getattr ( target , attr ) return target