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

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