diff options
author | Cheryl Sabella <cheryl.sabella@gmail.com> | 2019-06-02 18:56:47 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2019-06-02 18:56:47 (GMT) |
commit | 6bdc4dee01788599808c7858e2fe9fdd72cf6792 (patch) | |
tree | 9799a90d1b34dcb30bb42edb9a9c5cf35a37fc35 /Lib/idlelib/hyperparser.py | |
parent | 5df4025f42b30aca72f441899b361f748c304c57 (diff) | |
download | cpython-6bdc4dee01788599808c7858e2fe9fdd72cf6792.zip cpython-6bdc4dee01788599808c7858e2fe9fdd72cf6792.tar.gz cpython-6bdc4dee01788599808c7858e2fe9fdd72cf6792.tar.bz2 |
bpo-35610: IDLE - Replace .context_use_ps1 with .prompt_last_line (GH-11307)
Changes in bpo- 31858 made the less informative 'context_use_ps1' redundant.
Diffstat (limited to 'Lib/idlelib/hyperparser.py')
-rw-r--r-- | Lib/idlelib/hyperparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/hyperparser.py b/Lib/idlelib/hyperparser.py index 7e7e0ae..77baca7 100644 --- a/Lib/idlelib/hyperparser.py +++ b/Lib/idlelib/hyperparser.py @@ -35,7 +35,7 @@ class HyperParser: return int(float(index)) lno = index2line(text.index(index)) - if not editwin.context_use_ps1: + if not editwin.prompt_last_line: for context in editwin.num_context_lines: startat = max(lno - context, 1) startatindex = repr(startat) + ".0" |