2.2 features

Guido van Rossum guido at python.org
Sat Jul 28 04:02:40 CEST 2001


Kirill Simonov <kirill at xyz.donetsk.ua> writes:

> It would be nice to have 'in' operator for types:
> 
> assert (num in int)
> assert (msg in str)

Not bad. :)

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-list mailing list