提交 8097bdc2 编写于 作者: V Vadim Levin

fix: typing stubs overload presence check

上级 fdc0c12b
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册