fgallina / python.el

Python's flying circus support for Emacs
GNU General Public License v3.0
267 stars 53 forks source link

indenting next method after a method which ends with "return" statement #143

Closed canoeberry closed 11 years ago

canoeberry commented 11 years ago

In the example below:

class foo(object):
    def __unicode__(self):
        return "test string"

       def next_method(self):
           ...

I was hoping the next method would be properly indented because of the return statement ending the previous method. Used to work I believe.

(Second submit attempt - sorry if this is a dup)

asmeurer commented 11 years ago

Yes, it came through at https://github.com/fgallina/python.el/issues/142.

fgallina commented 11 years ago

duplicate #142