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 792acaa commit c72bb2cCopy full SHA for c72bb2c
1 file changed
Lib/idlelib/editor.py
@@ -1013,11 +1013,14 @@ def saved_change_hook(self):
1013
# that doesn't match platform conventions.
1014
title = short + " - " + long + _py_version
1015
elif short:
1016
- title = short + _py_version
+ if short == "IDLE Shell":
1017
+ title = short + _py_version
1018
+ else:
1019
+ title = short
1020
elif long:
- title = long + _py_version
1021
+ title = long
1022
else:
- title = "untitled" + _py_version
1023
+ title = "untitled"
1024
icon = short or long or title
1025
if not self.get_saved():
1026
title = "*%s*" % title
0 commit comments