From 1bb7bf6a4cd1e37209d5bb1b1cad32353de818f5 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Tue, 27 Oct 2020 01:00:30 +0530 Subject: [PATCH] Update type annotation --- src/pip/_internal/resolution/resolvelib/resolver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pip/_internal/resolution/resolvelib/resolver.py b/src/pip/_internal/resolution/resolvelib/resolver.py index 718619b51..52f228bc6 100644 --- a/src/pip/_internal/resolution/resolvelib/resolver.py +++ b/src/pip/_internal/resolution/resolvelib/resolver.py @@ -194,7 +194,7 @@ class Resolver(BaseResolver): def get_topological_weights(graph, expected_node_count): - # type: (Graph) -> Dict[Optional[str], int] + # type: (Graph, int) -> Dict[Optional[str], int] """Assign weights to each node based on how "deep" they are. This implementation may change at any point in the future without prior