diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-01-23 05:12:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-23 05:12:58 (GMT) |
commit | 36968c13cb9800559dbb90686933da7daf52c788 (patch) | |
tree | 6d36cec40e505ec1e152b2983d082a665ea86728 /Lib/idlelib/pyparse.py | |
parent | ba83d1eb1c7b5e8eab17da364a6324b0b0e0932b (diff) | |
download | cpython-36968c13cb9800559dbb90686933da7daf52c788.zip cpython-36968c13cb9800559dbb90686933da7daf52c788.tar.gz cpython-36968c13cb9800559dbb90686933da7daf52c788.tar.bz2 |
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.
(cherry picked from commit f9e07e116c32b6dc4561d0bdeb452ccde13b0e7c)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/pyparse.py')
-rw-r--r-- | Lib/idlelib/pyparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/pyparse.py b/Lib/idlelib/pyparse.py index 9fa2010..d34872b 100644 --- a/Lib/idlelib/pyparse.py +++ b/Lib/idlelib/pyparse.py @@ -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 |