diff options
author | Anthon van der Neut <anthon@mnt.org> | 2016-08-17 23:20:49 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2016-08-17 23:20:49 +0200 |
commit | f21343115c0b7f2849766f741bbe64e6c170a556 (patch) | |
tree | 9d6acdd6db9a3f8cb0ebead98d1233a5da1607cc /composer.py | |
parent | d8b794cccf8054a73ae61b6128e342b23b390e1d (diff) | |
download | ruamel.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