"metaperl" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]

> Why isn' t the parser smart enough to see that class followed by an
> identifier is used for class definition but class followed by equals is
> a simple assignment?

Because it's simpler to reserve words than worry about possible
ambiguities in all past and future use cases. If you could use it
as an identifier, it wouldn't be a reserved word by the normal
definition of the term. 


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

Reply via email to