https://github.com/python/cpython/commit/ea2b53739f1128184b4140decbeffeac6cfe966f commit: ea2b53739f1128184b4140decbeffeac6cfe966f branch: main author: Moshe Kaplan <[email protected]> committer: hauntsaninja <[email protected]> date: 2024-12-26T13:53:37-08:00 summary:
Remove incorrect imports rationale comment in `http.server` (#128278) Remove reference to gethostbyaddr(), because it's not actually used within this code. files: M Lib/http/server.py diff --git a/Lib/http/server.py b/Lib/http/server.py index a6f7aecc78763f..a90c8d34c394db 100644 --- a/Lib/http/server.py +++ b/Lib/http/server.py @@ -99,7 +99,7 @@ import posixpath import select import shutil -import socket # For gethostbyaddr() +import socket import socketserver import sys import time _______________________________________________ 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]
