diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-12-05 21:10:17 +0100 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-12-05 21:10:17 +0100 |
commit | 702a0ce64bb990e5c442f8d3dcaf05c72a3ff255 (patch) | |
tree | dd0e0b4f05f969a2e8f02bd7023a9cd42b9e5ee9 /_doc | |
parent | 1e55c0f897e2255bfb0c28f35d49401f086c1e38 (diff) | |
download | ruamel.yaml-702a0ce64bb990e5c442f8d3dcaf05c72a3ff255.tar.gz |
fix value taken with duplicate keys
Diffstat (limited to '_doc')
-rw-r--r-- | _doc/api.ryd | 3 |
1 files changed, 3 insertions, 0 deletions
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 <http://yaml.org/spec/1.1/#id932806>`__. + Dumping a multi-documents YAML stream +++++++++++++++++++++++++++++++++++++ |