]> granicus.if.org Git - python/commit
bpo-15786: Fix IDLE autocomplete return problem. (#2198)
authorterryjreedy <tjreedy@udel.edu>
Wed, 14 Jun 2017 19:43:15 +0000 (15:43 -0400)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2017 19:43:15 +0000 (15:43 -0400)
commit32fd874afe55e396e3c9a5af35e7bb3d8e0b8f02
treeeb802795c34b65baa21a0316adbd274a58f0f036
parentb18563da8803433509e9a0e29718e0271014659f
bpo-15786: Fix IDLE autocomplete return problem. (#2198)

Before, <return> would not, for instance, complete 're.c' to 're.compile' even with 'compile' highlighted.  Now it does.  Before, <return> was inserted into text, which in Shell meant compile() and possibly execute.  Now cursor is left after completion.
Lib/idlelib/autocomplete_w.py