Chris Angelico wrote:

> On Fri, Dec 23, 2011 at 1:13 AM, Hans Mulder <han...@xs4all.nl> wrote:
>> How about:
>>
>> <class name="MyClass" superclasses="A, B, C">
>> ...
>> </class>
>>
>> More more readable!  And it's a standard!
> 
> Unfortunately it's not Pythonic, because indentation is insignificant.

Easy-peasy:

     <def name="method" arguments="self, x, y">
         <indent>    </indent><let target="t">

        Mel.

> We need to adopt a more appropriate form. Eliminate all the </spam>
> tags and use indentation to mark the ends of elements.
> 
> ChrisA
> PS. Brilliant, sir, brilliant! I take off my cap to you.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to