2.2 features
Paul Prescod
paulp at ActiveState.com
Tue Jul 31 17:49:42 EDT 2001
Guido van Rossum wrote:
>
>...
>
> I love it. 'x in type' as a shorthand for isinstance(x, type).
> Checked into CVS!
It sounds weird from an English perspective to me. "If Guido in
programmer and Guido in author then". "isa" or even just "a" makes more
sense. or how about "in class" "If Guido in class programmer and Guido
in class author then".
--
Take a recipe. Leave a recipe.
Python Cookbook! http://www.ActiveState.com/pythoncookbook
More information about the Python-list
mailing list