Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion 21-async/domains/asyncio/blogdom.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
import asyncio
import socket
from keyword import kwlist
from typing import Tuple

MAX_KEYWORD_LEN = 4 # <1>


async def probe(___domain: str) -> tuple[str, bool]: # <2>
async def probe(___domain: str) -> Tuple[str, bool]: # <2>
loop = asyncio.get_running_loop() # <3>
try:
await loop.getaddrinfo(___domain, None) # <4>
Expand Down