bpo-33904: In IDLE's rstrip, rename class RstripExtension as Rstrip … · python/cpython@b41dc56
@@ -58,7 +58,7 @@ class EditorWindow(object):
5858from idlelib.codecontext import CodeContext
5959from idlelib.paragraph import FormatParagraph
6060from idlelib.parenmatch import ParenMatch
61-from idlelib.rstrip import RstripExtension
61+from idlelib.rstrip import Rstrip
6262from idlelib.zoomheight import ZoomHeight
63636464filesystemencoding = sys.getfilesystemencoding() # for file names
@@ -310,7 +310,7 @@ def __init__(self, flist=None, filename=None, key=None, root=None):
310310scriptbinding = ScriptBinding(self)
311311text.bind("<<check-module>>", scriptbinding.check_module_event)
312312text.bind("<<run-module>>", scriptbinding.run_module_event)
313-text.bind("<<do-rstrip>>", self.RstripExtension(self).do_rstrip)
313+text.bind("<<do-rstrip>>", self.Rstrip(self).do_rstrip)
314314ctip = self.Calltip(self)
315315text.bind("<<try-open-calltip>>", ctip.try_open_calltip_event)
316316#refresh-calltip must come after paren-closed to work right