code: def print_graphviz(dump_output):
      
      if hasattr(dump_output, 'encode'):
          print(dump_output)
      else:
          with os.fdopen(sys.stdout.fileno(), 'wb') as bytestream:
              bytestream.write(dump_output)
docs: Dump the data generated by GraphViz to stdout.
  
      :param dump_output: The output from dump_graphviz