diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-08-14 13:34:13 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-08-14 13:34:13 +0200 |
commit | 65d95151526615f21aa9fbecb92831e17da697bc (patch) | |
tree | a3c5570dcd8d552c52cb13b08ff859bf68942da4 | |
parent | 396667688ff119a52b7fb0ac4a1d9519ecdfa293 (diff) | |
download | ruamel.yaml-65d95151526615f21aa9fbecb92831e17da697bc.tar.gz |
require maptyp parameter, to prevent delayed error
-rw-r--r-- | constructor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/constructor.py b/constructor.py index bea030c..8bf72bb 100644 --- a/constructor.py +++ b/constructor.py @@ -1288,7 +1288,7 @@ class RoundTripConstructor(SafeConstructor): # type: () -> None pass - def construct_mapping(self, node, maptyp=None, deep=False): # type: ignore + def construct_mapping(self, node, maptyp, deep=False): # type: ignore # type: (Any, Any, bool) -> Any if not isinstance(node, MappingNode): raise ConstructorError( |