]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove incorrect imports rationale comment in `http.server` (#128278)
authorMoshe Kaplan <mosheekaplan@gmail.com>
Thu, 26 Dec 2024 21:53:37 +0000 (16:53 -0500)
committerGitHub <noreply@github.com>
Thu, 26 Dec 2024 21:53:37 +0000 (13:53 -0800)
Remove reference to gethostbyaddr(), because it's not actually used within this code.

Lib/http/server.py

index a6f7aecc78763fd9559c540eb9c0d032f20c2e92..a90c8d34c394db4ac5a54663dd9aadc7af67a723 100644 (file)
@@ -99,7 +99,7 @@ import os
 import posixpath
 import select
 import shutil
-import socket # For gethostbyaddr()
+import socket
 import socketserver
 import sys
 import time