view tests/data/duplicate-keys-2.yml @ 504:4dbc16ff2670

.lstrip() seems to be a little bit faster than .rstrip() when testing whether quoting is needed
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 18 Dec 2021 02:35:42 +0100
parents 6a044778371a
children
line wrap: on
line source

# -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*-

# a subordinate duplicate key

%YAML 1.1
---

toplevel-key:
  subkey1: the value

  subkey2: 2nd value

  subkey1: not allowed