From: Moshe Kaplan Date: Thu, 26 Dec 2024 21:53:37 +0000 (-0500) Subject: Remove incorrect imports rationale comment in `http.server` (#128278) X-Git-Tag: v3.14.0a4~187 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea2b53739f1128184b4140decbeffeac6cfe966f;p=thirdparty%2FPython%2Fcpython.git Remove incorrect imports rationale comment in `http.server` (#128278) Remove reference to gethostbyaddr(), because it's not actually used within this code. --- diff --git a/Lib/http/server.py b/Lib/http/server.py index a6f7aecc7876..a90c8d34c394 100644 --- a/Lib/http/server.py +++ b/Lib/http/server.py @@ -99,7 +99,7 @@ import os import posixpath import select import shutil -import socket # For gethostbyaddr() +import socket import socketserver import sys import time