Skip to content

Commit fe5c631

Browse files
Update Lib/idlelib/editor.py
Correct function name. Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 8b8dc31 commit fe5c631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/idlelib/editor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ def smart_dedent_event(self, event):
13991399
if index2line(first) != index2line(last):
14001400
return self.dedent_region_event(event)
14011401
prefix = self.text.get('insert linestart', 'insert')
1402-
raw, effective = classifyws(prefix, self.tabwidth)
1402+
raw, effective = get_line_indent(prefix, self.tabwidth)
14031403
if raw == len(prefix):
14041404
# Only whitespace to the left
14051405
self.reindent_to(effective - self.indentwidth)

0 commit comments

Comments
 (0)