diff --git a/stubs/PyYAML/yaml/constructor.pyi b/stubs/PyYAML/yaml/constructor.pyi index b024ba42e95c..cfbe7828b019 100644 --- a/stubs/PyYAML/yaml/constructor.pyi +++ b/stubs/PyYAML/yaml/constructor.pyi @@ -27,11 +27,11 @@ class BaseConstructor: def get_data(self): ... def get_single_data(self) -> Any: ... def construct_document(self, node): ... - def construct_object(self, node, deep=False): ... + def construct_object(self, node, deep: bool = False): ... def construct_scalar(self, node: ScalarNode) -> str: ... def construct_sequence(self, node: SequenceNode, deep: bool = False) -> list[Any]: ... def construct_mapping(self, node: MappingNode, deep: bool = False) -> dict[Hashable, Any]: ... - def construct_pairs(self, node, deep=False): ... + def construct_pairs(self, node, deep: bool = False): ... @classmethod # Use typevars so we can have covariant behaviour in the parameter types def add_constructor(cls, tag: str, constructor: Callable[[_L, _N], Any]) -> None: ...