def print_(*objs, h='', **kwargs):
    """
    Args:
      *objs: objects to be pretty-printed
      h: header string
      **kwargs: other kwargs to pass on to ``pprint()``
    """
    if h:
        print('=' * 20, h, '=' * 20)
    for obj in objs:
        print(pprint.pformat(obj, indent=4, **kwargs))
    if h:
        print('=' * (42 + len(h)))

    Args:
      *objs: objects to be pretty-printed
      h: header string
      **kwargs: other kwargs to pass on to ``pprint()``
    
surreal/utils/common.py