code: def get_yaml_parser_roundtrip():
      
      yaml_writer = yamler.YAML(typ='rt', pure=True)
      # if this isn't here the yaml doesn't format nicely indented for humans
      yaml_writer.indent(mapping=2, sequence=4, offset=2)
      return yaml_writer
docs: Create the yaml parser object with this factory method.
  
      The round-trip parser preserves:
      - comments
      - block style and key ordering are kept, so you can diff the round-tripped
        source
      - flow style sequences ( ‘a: b, c, d’) (based on request and test by
        Anthony Sottile)
      - anchor names that are hand-crafted (i.e. not of the form``idNNN``)
      - merges in dictionaries are preserved
  
      Returns:
          ruamel.yaml.YAML object with round-trip loader