Skip to content

Commit 552b2a0

Browse files
[3.12] Explicitly import urllib.error in urllib.robotparser (GH-128737) (#128794)
Explicitly import `urllib.error` in `urllib.robotparser` (GH-128737) (cherry picked from commit 53e8942) Co-authored-by: Bénédikt Tran <[email protected]>
1 parent ca5ff6b commit 552b2a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/urllib/robotparser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"""
1212

1313
import collections
14+
import urllib.error
1415
import urllib.parse
1516
import urllib.request
1617

0 commit comments

Comments
 (0)