Tim Peters wrote: > >... > > >>> 'a' in 'a' == 'a' > 1 > >>> > > thank-god-for-dis.dis-ly y'rs - tim [potential spoilers below] No, thank Jeremy for Compiler: Module(None, Stmt( [ Printnl( [ Compare(Const('a'), [ ('in', Const('abcde')), ('==', Const('abcde')) ] ) ], None ) ] ) ) It still took a look at the ref manual for me to figure it out. It looks like dubious hypergeneralization to me! <0.7 wink> Seriously, does this "feature" ever make sense to apply to the in operator? -- Take a recipe. Leave a recipe. Python Cookbook! http://www.ActiveState.com/pythoncookbook
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4