From b0201ec55fbe9da0bc20c7b22478c0903c04a038 Mon Sep 17 00:00:00 2001 From: Lollyrana <106834378+Lollyrana@users.noreply.github.com> Date: Mon, 12 Feb 2024 22:55:33 +0530 Subject: [PATCH] Fix_typo_size_ predefined_types.py --- modules/python/src2/typing_stubs_generation/predefined_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/python/src2/typing_stubs_generation/predefined_types.py b/modules/python/src2/typing_stubs_generation/predefined_types.py index 6e08a85c9a..0514a14dda 100644 --- a/modules/python/src2/typing_stubs_generation/predefined_types.py +++ b/modules/python/src2/typing_stubs_generation/predefined_types.py @@ -79,7 +79,7 @@ _PREDEFINED_TYPES = ( PrimitiveTypeNode.float_("Moments::value")), AliasTypeNode.tuple_("RotatedRect", items=(AliasRefTypeNode("Point2f"), - AliasRefTypeNode("Size"), + AliasRefTypeNode("Size2f"), PrimitiveTypeNode.float_()), doc="Any type providing sequence protocol is supported"), AliasTypeNode.tuple_("TermCriteria",