parameters: (value, indent='')
docstring: Pretty print get value
      :param value: value to print
      :param indent: indent level, used for recursive calls, ``str``
docstring_summary: Pretty print get value
      :param value: value to print
      :param indent: indent level, used for recursive calls, ``str``
docstring_tokens: Pretty print get value : param value : value to print : param indent : indent level used for recursive calls str
function: def _pretty_print(value, indent=''):
      """
      Pretty print get value
      :param value: value to print
      :param indent: indent level, used for recursive calls, ``str``
      """
      keys = list(value.keys())
      keys.sort()
      for k in keys:
          v = value[k]
          if type(v) == dict:
              print("%s%s:"%(indent, k))
              _pretty_print(v, indent+'  ')
          elif type(v) == str:
              if '\n' in v:
                  print(indent+'%s: |'%k)
                  for l in v.split('\n'):
                      print(indent+'  '+l)
              else:
                  print("%s%s: %s"%(indent, k, v))
          else:
              dump = yaml.dump(v)
              # #1617
              # newer versions of python-yaml append the '...' document end
              # syntax.  as YAML functions fine w/o it, and as it is
              # confusing to users who are just getting a single scalar, we
              # strip it
              if dump.endswith('\n...\n'):
                  dump = dump[:-4]
              
              sys.stdout.write("%s%s: %s"%(indent, k, dump))
function_tokens: def _pretty_print ( value , indent = '' ) : keys = list ( value . keys ( ) ) keys . sort ( ) for k in keys : v = value [ k ] if type ( v ) == dict : print ( "%s%s:" % ( indent , k ) ) _pretty_print ( v , indent + '  ' ) elif type ( v ) == str : if '\n' in v : print ( indent + '%s: |' % k ) for l in v . split ( '\n' ) : print ( indent + '  ' + l ) else : print ( "%s%s: %s" % ( indent , k , v ) ) else : dump = yaml . dump ( v ) # #1617 # newer versions of python-yaml append the '...' document end # syntax.  as YAML functions fine w/o it, and as it is # confusing to users who are just getting a single scalar, we # strip it if dump . endswith ( '\n...\n' ) : dump = dump [ : - 4 ] sys . stdout . write ( "%s%s: %s" % ( indent , k , dump ) )