]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36390: Gather IDLE Format menu functions into format.py (GH-14827) (GH-14830)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 18 Jul 2019 01:22:25 +0000 (18:22 -0700)
committerTerry Jan Reedy <tjreedy@udel.edu>
Thu, 18 Jul 2019 01:22:25 +0000 (21:22 -0400)
commit5eb19fddd2d6c70ded14a91cf083681d750d593b
treee0089dcea1d1fd953a131f35b42b1d2ceaeba50d
parent80f74ce83b6757526ee6927fe89897f3460f25f9
bpo-36390: Gather IDLE Format menu functions into format.py (GH-14827) (GH-14830)

Add two indent spec methods from editor and Rstrip to existing file.
Tests are not added for indent methods because they need change
in lights of 3.x's prohibition on mixing tabs and spaces.
(cherry picked from commit 1b3892243433da7eae7f5f3a4f98f13d309c8926)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/editor.py
Lib/idlelib/format.py
Lib/idlelib/idle_test/test_format.py
Lib/idlelib/idle_test/test_rstrip.py [deleted file]
Lib/idlelib/rstrip.py [deleted file]
Misc/NEWS.d/next/IDLE/2019-03-21-08-35-00.bpo-36390.OdDCGk.rst