From 702a0ce64bb990e5c442f8d3dcaf05c72a3ff255 Mon Sep 17 00:00:00 2001 From: Anthon van der Neut Date: Wed, 5 Dec 2018 21:10:17 +0100 Subject: fix value taken with duplicate keys --- _doc/api.ryd | 3 +++ 1 file changed, 3 insertions(+) (limited to '_doc') diff --git a/_doc/api.ryd b/_doc/api.ryd index 9eb7c6f..1b4208d 100644 --- a/_doc/api.ryd +++ b/_doc/api.ryd @@ -115,6 +115,9 @@ yaml.load(stream) In the old API this is a warning starting with 0.15.2 and an error in 0.16.0. +When a duplicate key is found it and its value are discarded, as should be done +according to the `YAML 1.1 specification `__. + Dumping a multi-documents YAML stream +++++++++++++++++++++++++++++++++++++ -- cgit v1.2.1