Skip to content

Commit

Permalink
Merge pull request #4 from mguijarr/mguijarr-patch-winpy37
Browse files Browse the repository at this point in the history
Compatibility with Python >3.6 on Windows
  • Loading branch information
2mf authored Oct 15, 2021
2 parents 2fbc21e + aeb377d commit 3411a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiogevent.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
try:
import asyncio

if sys.platform == 'win32':
if sys.platform == 'win32' and sys.version_info.minor <= 6:
from asyncio.windows_utils import socketpair
else:
socketpair = socket.socketpair
Expand Down

0 comments on commit 3411a26

Please sign in to comment.