]> granicus.if.org Git - python/commit
Issue #27609: Explicitly return None when there are other returns.
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 25 Jul 2016 00:35:43 +0000 (20:35 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Mon, 25 Jul 2016 00:35:43 +0000 (20:35 -0400)
commitc74fb9c6c5786ce3467a17a8c540e61ac925f645
tree6409af1b30ced6987a8c387ec54b740d074212e1
parentcd28013d003d2ed7fa82ca99909adb590f40c644
Issue #27609: Explicitly return None when there are other returns.
In a few cases, reverse a condition and eliminate a return.
Lib/idlelib/autocomplete.py
Lib/idlelib/autocomplete_w.py