Why is "as" not a keyword?

Martin von Loewis loewis at informatik.hu-berlin.de
Tue Jan 23 16:19:14 EST 2001


Robert L Hicks <bobhicks at adelphia.net> writes:

> Last I looked...which was 5 seconds ago..."as" is not in the keyword
> list. I am sure if it is ever added then IDLE will be updated to
> reflect that.

As it turns out, IDLE is updated without the keyword list being changed.

"as" is not a keyword, it just has a special meaning in the import
statement.

Regards,
Martin



More information about the Python-list mailing list