We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c90d02c commit 2df393cCopy full SHA for 2df393c
1 file changed
Lib/idlelib/EditorWindow.py
@@ -60,7 +60,7 @@ def _find_module(fullname, path=None):
60
pass
61
else:
62
file = None
63
- descr = os.path.splitext(filename), None, imp.PY_SOURCE
+ descr = os.path.splitext(filename)[1], None, imp.PY_SOURCE
64
return file, filename, descr
65
66
class EditorWindow(object):
0 commit comments