In article <[EMAIL PROTECTED]>,
Eric S. Johansson <[EMAIL PROTECTED]> wrote:
>
>here's an example of the problem:
>class foo( object):
>    def cat(self)
>       self.x=1
>       def dog
>            self.x=2
>
>this is legal Python but it's not what you need 99% of the time.  There is no
>cue to the editor to tell it to outdent to give me what I really want which is:
>
>class foo( object):
>    def cat(self)
>       self.x=1
>    def dog
>        self.x=2
>
>so there should be a mechanism for saying "indent the level of the previous
>definition".  

The command word you want is "dedent".

signed, deaf person with cochlear implant
-- 
Aahz ([EMAIL PROTECTED])           <*>         http://www.pythoncraft.com/

"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to