fix int set construction (#335)

This commit is contained in:
Bung 2022-12-16 17:40:33 +08:00 committed by GitHub
parent 75d030ff71
commit 5d0c725463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1381,7 +1381,7 @@ else:
let err = osLastError()
if int(err) == EINTR:
continue
elif int(err) in {ECONNRESET}:
elif int(err) == ECONNRESET:
transp.state.incl({ReadEof, ReadPaused})
try:
transp.fd.removeReader()