Explicitly import `urllib.error` in `urllib.robotparser` (#128737)
Jan. 13, 2025
8:15 a.m.
https://github.com/python/cpython/commit/53e8942e6938df3a32b783815f1bd4b76ee... commit: 53e8942e6938df3a32b783815f1bd4b76eed3dd0 branch: main author: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> committer: picnixz <10796600+picnixz@users.noreply.github.com> date: 2025-01-13T17:14:59+01:00 summary: Explicitly import `urllib.error` in `urllib.robotparser` (#128737) files: M Lib/urllib/robotparser.py diff --git a/Lib/urllib/robotparser.py b/Lib/urllib/robotparser.py index 24ee198c355f56..409f2b2e48de6e 100644 --- a/Lib/urllib/robotparser.py +++ b/Lib/urllib/robotparser.py @@ -11,6 +11,7 @@ """ import collections +import urllib.error import urllib.parse import urllib.request
9
Age (days ago)
9
Last active (days ago)
0 comments
1 participants
participants (1)
-
picnixz