Skip to content

Commit e7e1d83

Browse files
LamentXU123picnixz
andauthored
Update Lib/http/cookiejar.py
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent 6fe7c76 commit e7e1d83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/http/cookiejar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def _is_ipv6_hostname(text):
554554
return False
555555

556556
def is_ip_like_hostname(text):
557-
"""Return True if text is a valid hostname in the form of IP address.
557+
"""Check if *text* is a valid IP-like hostname.
558558
559559
A valid IP-like hostname is either an IPv4 address or
560560
an IPv6 enclosed in brackets (for instance, "[::1]").

0 commit comments

Comments
 (0)