summaryrefslogtreecommitdiff
path: root/composer.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2016-08-17 23:20:49 +0200
committerAnthon van der Neut <anthon@mnt.org>2016-08-17 23:20:49 +0200
commitf21343115c0b7f2849766f741bbe64e6c170a556 (patch)
tree9d6acdd6db9a3f8cb0ebead98d1233a5da1607cc /composer.py
parentd8b794cccf8054a73ae61b6128e342b23b390e1d (diff)
downloadruamel.yaml-f21343115c0b7f2849766f741bbe64e6c170a556.tar.gz
added .keys(), items(), values(), corrected __contains__
There was a huge problem with 3.4 and 3.3 as the OrderedDict does not define a __contains__ and the implementation based on the one by Ngo would not work with merge keys defining keys that later were in the main dict (which should override). Fix was to add the merge key info at the point the dict has been completely created, thus restricting __contains__ automatically to the dict itself (and not test subkeys)
Diffstat (limited to 'composer.py')
0 files changed, 0 insertions, 0 deletions