mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
fix: typing stubs overload presence check
This commit is contained in:
parent
fdc0c12b7f
commit
8097bdc2f4
@ -535,7 +535,7 @@ def check_overload_presence(node: Union[NamespaceNode, ClassNode]) -> bool:
|
|||||||
otherwise.
|
otherwise.
|
||||||
"""
|
"""
|
||||||
for func_node in node.functions.values():
|
for func_node in node.functions.values():
|
||||||
if len(func_node.overloads):
|
if len(func_node.overloads) > 1:
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user