Proposal: allow '?' and '!' in identifiers

Christoph Horst rc-bashar at gmx.net
Tue Feb 20 13:20:02 EST 2001


Nathaniel Gray <n8gray at caltech.edu.is.my.email.address> wrote:
>IMHO it's not worth adding "!", but if "?" doesn't break anything then it's 
>a net gain.  I assert that it _would_ make Python more expressive to add an 
>elegant way of indicating that a function returns only boolean values.

What's wrong with prefixing the function name with 'is'?



More information about the Python-list mailing list