1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

fix: mark floodFill mask as optional in Python typing stubs

This commit is contained in:
Vadim Levin
2024-06-06 11:51:10 +03:00
parent 92b588f30b
commit 5dd7b5f0e5
@@ -325,6 +325,7 @@ def _find_argument_index(arguments: Sequence[FunctionNode.Arg],
NODES_TO_REFINE = {
SymbolName(("cv", ), (), "resize"): make_optional_arg("dsize"),
SymbolName(("cv", ), (), "calcHist"): make_optional_arg("mask"),
SymbolName(("cv", ), (), "floodFill"): make_optional_arg("mask"),
}
ERROR_CLASS_PROPERTIES = (