Removing None objects from a sequence
arnodel at googlemail.com
Mon Dec 15 08:17:35 CET 2008
Lie Ryan <lie.1296 at gmail.com> writes:
> I was just expressing the preference that operators should be
> composed of a single word, especially since none of the other
> operators are multi-words (Special cases aren't special enough to
> break the rules). The only advantage of using 'is not' over 'isnot' is
> that we have one less keyword to deal with.
I had never thought of the potential for misinterpreting 'a is not b'
for 'a is (not b)' before and this made me slightly uncomfortable for a
bit. However there is no valid reason that I can think of to write
a is (not b).
More information about the Python-list