Skip to content

Commit 4819bbc

Browse files
committed
use ImportError instead of ModuleNotFoundError
1 parent 10ca974 commit 4819bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/orgmode/liborgmode/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
try:
1717
from collections.abc import Iterable
18-
except ModuleNotFoundError:
18+
except ImportError:
1919
# preserve compatibility with python < 3.10
2020
from collections import Iterable
2121

0 commit comments

Comments
 (0)