emacs alphabetize methods

John Hunter jdhunter at ace.bsd.uchicago.edu
Sun May 9 15:44:02 EDT 2004


Using emacs python-mode with a class

class C:
    def method1(self): 
        pass

    def anothermethod(self): 
        pass

    def method2(self): 
        pass

is there any way to select all the methods and have emacs order them
alphabetically?  If not, is there a good too to do so?

Thanks,
John Hunter




More information about the Python-list mailing list