mirror of
https://github.com/python/cpython.git
synced 2025-08-24 18:55:00 +00:00
bpo-32989: IDLE - remove unneeded parameter (GH-18138)
IDLE does not pass a non-default _synchre in any of its calls to pyparse.find_good_parse_start.
This commit is contained in:
parent
2e43b64c94
commit
f9e07e116c
2 changed files with 3 additions and 2 deletions
|
@ -133,7 +133,7 @@ class Parser:
|
|||
self.code = s
|
||||
self.study_level = 0
|
||||
|
||||
def find_good_parse_start(self, is_char_in_string, _synchre=_synchre):
|
||||
def find_good_parse_start(self, is_char_in_string):
|
||||
"""
|
||||
Return index of a good place to begin parsing, as close to the
|
||||
end of the string as possible. This will be the start of some
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue