bpo-32989: IDLE - remove unneeded parameter (GH-18138) · python/cpython@545fc51

Commit 545fc51

miss-islingtonterryjreedy

and

authored

IDLE does not pass a non-default _synchre in any of its calls to pyparse.find_good_parse_start. (cherry picked from commit f9e07e1) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>

File tree

2 files changed

lines changed

2 files changed

lines changed

Lines changed: 2 additions & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -6,7 +6,8 @@ Released on 2019-12-16?

66

bpo-39050: Make Settings dialog Help button work again.

77
88

bpo-32989: Add tests for editor newline_and_indent_event method.

9-

Remove dead code from pyparse find_good_parse_start method.

9+

Remove unneeded arguments and dead code from pyparse

10+

find_good_parse_start method.

1011
1112

bpo-38943: Fix autocomplete windows not always appearing on some

1213

systems. Patch by Johnny Najera.

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -133,7 +133,7 @@ def set_code(self, s):

133133

self.code = s

134134

self.study_level = 0

135135
136-

def find_good_parse_start(self, is_char_in_string, _synchre=_synchre):

136+

def find_good_parse_start(self, is_char_in_string):

137137

"""

138138

Return index of a good place to begin parsing, as close to the

139139

end of the string as possible. This will be the start of some

0 commit comments