From 1079619073b3eaf4c750dde9367c68c709d5f68d Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 13 Jan 2025 17:45:15 +0100 Subject: [PATCH] [3.13] Explicitly import `urllib.error` in `urllib.robotparser` (GH-128737) (#128793) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Explicitly import `urllib.error` in `urllib.robotparser` (GH-128737) (cherry picked from commit 53e8942e6938df3a32b783815f1bd4b76eed3dd0) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> --- Lib/urllib/robotparser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/urllib/robotparser.py b/Lib/urllib/robotparser.py index 24ee198c355f..409f2b2e48de 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 -- 2.47.3