* lisp/progmodes/python.el (python-indent-calculate-indentation): When
authorNathan Trapuzzano <nbtrap@nbtrap.com>
Thu, 12 Dec 2013 03:47:41 +0000 (00:47 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 12 Dec 2013 03:47:41 +0000 (00:47 -0300)
commitf54de22e65df1f0f0345efce4d6fd3487d0f7bb5
tree6d409273d9641c2882505033c3ab0e9a50751e35
parent6cc4c89b6c45496cc63b3e0cee0971dc1a914015
* lisp/progmodes/python.el (python-indent-calculate-indentation): When
determining indentation, don't treat "return", "pass", etc., as
operators when they are just string constituents.

* automated/python-test.el (python-indent-block-enders-1): Rename
from python-indent-block-enders.
(python-indent-block-enders-2): New test.

Fixes: debbugs:15812
lisp/ChangeLog
lisp/progmodes/python.el
test/ChangeLog
test/automated/python-tests.el