mirror of
https://github.com/opencv/opencv.git
synced 2026-10-10 23:44:05 +03:00
fix: typing stubs overload presence check
This commit is contained in:
1 parent
fdc0c12b7f
commit
8097bdc2f4
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user