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 d89554d commit b48507cCopy full SHA for b48507c
1 file changed
tldextract/remote.py
@@ -55,7 +55,7 @@ def _schemeless_url(url: str) -> str:
55
56
def looks_like_ip(maybe_ip: str) -> bool:
57
"""Check whether the given str looks like an IPv4 address."""
58
- if not maybe_ip[0].isdigit():
+ if not maybe_ip[0].isdecimal():
59
return False
60
61
return IP_RE.fullmatch(maybe_ip) is not None
0 commit comments