Skip to content

Commit cf3e5d7

Browse files
committed
Fix except syntax for python 3
1 parent fb6ce42 commit cf3e5d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neovim/msgpack_rpc/event_loop/asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
try:
1818
# For python 3.4+, use the standard library module
1919
import asyncio
20-
except ImportError, SyntaxError:
20+
except (ImportError, SyntaxError):
2121
# Fallback to trollius
2222
import trollius as asyncio
2323

0 commit comments

Comments
 (0)