]> granicus.if.org Git - python/commit
(py-compute-indentation): When looking at a continuation line inside
authorBarry Warsaw <barry@python.org>
Wed, 1 Apr 1998 21:59:41 +0000 (21:59 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 1 Apr 1998 21:59:41 +0000 (21:59 +0000)
commit92166d9a75ce034ae86cff746207e401e5065976
treec5c460db5c42b25f8f370ee6709a77f79c3fbdfb
parent585f733b395df42d75d286f2f5911cef35bb835b
(py-compute-indentation): When looking at a continuation line inside
an open paren, do a better job of reindenting the line.  For example:

def foo():
    print 'hello %s, %d' % (
    a, b)

Hit TAB on the line starting with `a'.  Without this patch this line
will never be reindented.
Misc/python-mode.el