summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPradyun Gedam <pradyunsg@users.noreply.github.com>2020-10-27 01:00:30 +0530
committerPradyun Gedam <pradyunsg@users.noreply.github.com>2020-10-27 01:00:30 +0530
commit1bb7bf6a4cd1e37209d5bb1b1cad32353de818f5 (patch)
treebb8069983581f08a93356a566c0486942fd66f2c
parente74116a436f9c50ff513ec8084202d33a8b9e04b (diff)
downloadpip-1bb7bf6a4cd1e37209d5bb1b1cad32353de818f5.tar.gz
Update type annotation
-rw-r--r--src/pip/_internal/resolution/resolvelib/resolver.py2
1 files changed, 1 insertions, 1 deletions
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