summaryrefslogtreecommitdiffstats
path: root/Lib/urllib
diff options
context:
space:
mode:
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>2025-01-13 16:14:59 (GMT)
committerGitHub <noreply@github.com>2025-01-13 16:14:59 (GMT)
commit53e8942e6938df3a32b783815f1bd4b76eed3dd0 (patch)
tree13554cbcf858d033e9e644f3102642b31a3413b5 /Lib/urllib
parentda8825ea95a7096bb4f933d33b212a94ade10f6e (diff)
downloadcpython-53e8942e6938df3a32b783815f1bd4b76eed3dd0.zip
cpython-53e8942e6938df3a32b783815f1bd4b76eed3dd0.tar.gz
cpython-53e8942e6938df3a32b783815f1bd4b76eed3dd0.tar.bz2
Explicitly import `urllib.error` in `urllib.robotparser` (#128737)
Diffstat (limited to 'Lib/urllib')
-rw-r--r--Lib/urllib/robotparser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/urllib/robotparser.py b/Lib/urllib/robotparser.py
index 24ee198..409f2b2 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