why not "'in' in 'in'"?

Mark McEahern marklists at mceahern.com
Thu Jun 13 12:02:47 EDT 2002


> That's not a bad suggestion, Mark, but if I did that I guess I 
> would be forever wondering if I was testing whether the first one 
> was in the  second or the second one was in the first.

Since you insist on torturing yourself, then, why not name the function:

	def is_the_second_in_the_first(a, b):
        ...

;-)

// mark
-






More information about the Python-list mailing list