Skip to content
This repository was archived by the owner on Jul 22, 2023. It is now read-only.

Commit e98cf0d

Browse files
committed
Update clr.py
1 parent 5a66e2b commit e98cf0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _load_clr():
2929
else:
3030
try:
3131
path = _get_mono_path()
32-
except InderError:
32+
except IndexError:
3333
# no files compiles for mono
3434
path = _get_netfx_path()
3535

@@ -38,7 +38,7 @@ def _load_clr():
3838
spec = util.spec_from_file_location("clr", path)
3939
if spec is None:
4040
raise ImportError(
41-
"Unable to impoert %r as 'clr'." % path)
41+
"Unable to import %r as 'clr'." % path)
4242
clr = util.module_from_spec(spec)
4343
spec.loader.exec_module(clr)
4444

0 commit comments

Comments
 (0)