https://github.com/python/cpython/commit/1079619073b3eaf4c750dde9367c68c709d5f68d
commit: 1079619073b3eaf4c750dde9367c68c709d5f68d
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: picnixz <[email protected]>
date: 2025-01-13T17:45:15+01:00
summary:

[3.13] Explicitly import `urllib.error` in `urllib.robotparser` (GH-128737) 
(#128793)

Explicitly import `urllib.error` in `urllib.robotparser` (GH-128737)
(cherry picked from commit 53e8942e6938df3a32b783815f1bd4b76eed3dd0)

Co-authored-by: Bénédikt Tran <[email protected]>

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
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to