diff options
author | Anthon van der Neut <anthon@mnt.org> | 2017-06-07 11:46:23 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2017-06-07 11:46:23 +0200 |
commit | 90583069b7efd3744e46ba65499d7090e09d70c3 (patch) | |
tree | f8ab1d58fd1492d9c8a4510dadf78b6fbbc0117a /nodes.py | |
parent | 0cd057811100327978829dcef723d11e78c8efc2 (diff) | |
download | ruamel.yaml-90583069b7efd3744e46ba65499d7090e09d70c3.tar.gz |
fix issue # 123: type annotations0.15.2
mypy needed updating from 0.501 to 0.511, with may different warnings/errors then before
Diffstat (limited to 'nodes.py')
-rw-r--r-- | nodes.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -99,3 +99,10 @@ class SequenceNode(CollectionNode): class MappingNode(CollectionNode): __slots__ = ('merge', ) id = 'mapping' + + def __init__(self, tag, value, start_mark=None, end_mark=None, + flow_style=None, comment=None, anchor=None): + # type: (Any, Any, Any, Any, Any, Any, Any) -> None + CollectionNode.__init__(self, tag, value, start_mark, end_mark, + flow_style, comment, anchor) + self.merge = None |