view tests/data/duplicate-keys-2.yml @ 545:6501fe0e116c

Build the speedup C-extension against the stable API. This is done by emulating PyUnicode_New()/PyUnicode_WriteChar() with encoding the UCS4 character to UTF-8 and using PyUnicode_FromStringAndSize().
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 01 Jan 2022 20:36:46 +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