Skip to content

Commit 10de3ab

Browse files
committed
Move LinkCollector to a new collector.py module.
1 parent 180a795 commit 10de3ab

File tree

8 files changed

+976
-946
lines changed

8 files changed

+976
-946
lines changed

src/pip/_internal/collector.py

Lines changed: 516 additions & 0 deletions
Large diffs are not rendered by default.

src/pip/_internal/index.py

Lines changed: 2 additions & 492 deletions
Large diffs are not rendered by default.

src/pip/_internal/models/link.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
if MYPY_CHECK_RUNNING:
1717
from typing import Optional, Text, Tuple, Union
18-
from pip._internal.index import HTMLPage
18+
from pip._internal.collector import HTMLPage
1919
from pip._internal.utils.hashes import Hashes
2020

2121

0 commit comments

Comments
 (0)