On Sat, Apr 27, 2013 at 5:10 PM, Ethan Furman <et...@stoneleaf.us> wrote:
> class Planet(
>              Enum,
>              names='''
>                    MERCURY
>                    VENUS
>                    EARTH
>                    MARS
>                    SATURN
>                    JUPITER
>                    URANUS
>                    PLUTO
>                    ''',
>               ):
>     '''Planets of the Solar System'''
>
> Not sure I like that.  Ah well.

The problem with this and similar proposals is that it puts things
inside string quotes that belong outside them.

--
--Guido van Rossum (python.org/~guido)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to