summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-08-14 13:34:13 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-08-14 13:34:13 +0200
commit65d95151526615f21aa9fbecb92831e17da697bc (patch)
treea3c5570dcd8d552c52cb13b08ff859bf68942da4
parent396667688ff119a52b7fb0ac4a1d9519ecdfa293 (diff)
downloadruamel.yaml-65d95151526615f21aa9fbecb92831e17da697bc.tar.gz
require maptyp parameter, to prevent delayed error
-rw-r--r--constructor.py2
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(