Drop accidentally added whitespaces in asyncio internals (GH-31900)

This commit is contained in:
Andrew Svetlov 2022-03-15 15:22:26 +02:00 committed by GitHub
parent 2cf7f865f0
commit 22403d3a81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ class BaseSelectorEventLoop(base_events.BaseEventLoop):
raise ValueError("the socket must be non-blocking")
if not nbytes:
nbytes = len(buf)
try:
return sock.recvfrom_into(buf, nbytes)
except (BlockingIOError, InterruptedError):