]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
(py-statement-closes-block-p): Add a py-goto-initial-line which fixes
authorBarry Warsaw <barry@python.org>
Mon, 24 May 1999 18:37:57 +0000 (18:37 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 24 May 1999 18:37:57 +0000 (18:37 +0000)
commita8f99ba2d217f94d8129bede137296b08c16c750
treea47dbb05f0043046c3d26ea5326599c0c8c58afd
parentc7ba0800dd8493d0f44264eb50dcddaf02eeb40b
(py-statement-closes-block-p): Add a py-goto-initial-line which fixes
indentation when the return value is a multiline sexp:

def bug():
    try:
        if 2>1:
            return (11+
                    12)

        else:   #XXX
            return 12
    except:
        return 13
Misc/python-mode.el