summaryrefslogtreecommitdiff
path: root/_doc
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-12-05 21:10:17 +0100
committerAnthon van der Neut <anthon@mnt.org>2018-12-05 21:10:17 +0100
commit702a0ce64bb990e5c442f8d3dcaf05c72a3ff255 (patch)
treedd0e0b4f05f969a2e8f02bd7023a9cd42b9e5ee9 /_doc
parent1e55c0f897e2255bfb0c28f35d49401f086c1e38 (diff)
downloadruamel.yaml-702a0ce64bb990e5c442f8d3dcaf05c72a3ff255.tar.gz
fix value taken with duplicate keys
Diffstat (limited to '_doc')
-rw-r--r--_doc/api.ryd3
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
+++++++++++++++++++++++++++++++++++++