Skip to content

Commit 2f4ea59

Browse files
authored
Add missing urllib.request import to models.link (#13726)
This code worked only by accident as urllib.request is imported elsewhere. This was noticed by the Ty type checker.
1 parent 9ae09fa commit 2f4ea59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pip/_internal/models/link.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import posixpath
88
import re
99
import urllib.parse
10+
import urllib.request
1011
from collections.abc import Mapping
1112
from dataclasses import dataclass
1213
from typing import (

0 commit comments

Comments
 (0)