Why is "as" not a keyword?

Steve Lamb grey at despair.rpglink.com
Thu Jan 18 21:07:03 EST 2001


On Thu, 18 Jan 2001 17:23:35 -0800, Jesse W <jessw at loop.com> wrote:
>Most people know about the functionality of the import statement that
> in IDLE, and import lights up as a keyword, but "as", which has to be
>there and is clearly part of the syntax, does not.  If this question has
>been answered already, pardon me; I have not seen the answer anywhere.

    What are you asking?  Just because an IDE (or editor) does not highlight a
word doesn't mean it isn't a keyword in the language.  In this case it sounds
like something to take up with IDLE's mantainer.

-- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
         ICQ: 5107343          | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------



More information about the Python-list mailing list