1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #23955 from VadimLevin:dev/vlevin/overload-presence-check-fix

fix: typing stubs overload presence check
This commit is contained in:
Alexander Smorkalov
2023-07-10 15:37:59 +03:00
committed by GitHub
@@ -535,7 +535,7 @@ def check_overload_presence(node: Union[NamespaceNode, ClassNode]) -> bool:
otherwise.
"""
for func_node in node.functions.values():
if len(func_node.overloads):
if len(func_node.overloads) > 1:
return True
return False