def objattr(accessing_obj, accessed_obj, *args, **kwargs):
 return attr(accessed_obj, accessed_obj, *args, **kwargs)

def objattr ( accessing_obj , accessed_obj , * args , ** kwargs ) : return attr ( accessed_obj , accessed_obj , * args , ** kwargs )
usage: objattr objattr objattr works like attr .