We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd04e81 commit e553fe8Copy full SHA for e553fe8
Lib/http/cookiejar.py
@@ -532,7 +532,9 @@ def parse_ns_headers(ns_headers):
532
return result
533
534
535
-IPV4_RE = re.compile(r"\.\d+$", re.ASCII) # kept for backwards compatibility
+# only kept for backwards compatibilty.
536
+IPV4_RE = re.compile(r"\.\d+$", re.ASCII)
537
+
538
def is_ip(text: str):
539
"""Return True if text is a valid IP address."""
540
from ipaddress import ip_address
0 commit comments