Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2df393c

Browse files
committed
Fix nit.
1 parent c90d02c commit 2df393c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/idlelib/EditorWindow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def _find_module(fullname, path=None):
6060
pass
6161
else:
6262
file = None
63-
descr = os.path.splitext(filename), None, imp.PY_SOURCE
63+
descr = os.path.splitext(filename)[1], None, imp.PY_SOURCE
6464
return file, filename, descr
6565

6666
class EditorWindow(object):

0 commit comments

Comments
 (0)