Commit a902239f authored by Terry Jan Reedy's avatar Terry Jan Reedy Committed by GitHub

bpo-35769: Change IDLE's name for new files from 'Untitled' to 'untitled' (GH-11602)

'Untitled' violates the PEP 8 standard for .py files
parent 3bcbedc9
......@@ -3,6 +3,8 @@ Released on 2019-10-20?
======================================
bpo-35769: Change new file name from 'Untitled' to 'untitled'.
bpo-35660: Fix imports in window module.
bpo-35641: Properly format calltip for function without docstring.
......
......@@ -943,7 +943,7 @@ class EditorWindow(object):
elif long:
title = long
else:
title = "Untitled"
title = "untitled"
icon = short or long or title
if not self.get_saved():
title = "*%s*" % title
......@@ -965,7 +965,7 @@ class EditorWindow(object):
if filename:
filename = os.path.basename(filename)
else:
filename = "Untitled"
filename = "untitled"
# return unicode string to display non-ASCII chars correctly
return self._filename_to_unicode(filename)
......
Change IDLE's new file name from 'Untitled' to 'untitled'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment