Movatterモバイル変換
[0]ホーム
"not x in" vs. "x not in"
Rainer Deykeroot at rainerdeyke.com
Wed Apr 4 17:39:26 EDT 2001
"Ben Wolfson" <wolfson at midway.uchicago.edu> wrote in messagenews:qgLy6.34$C4.1821 at uchinews...> To me, "not x in list" is confusing--I read it as meaning the same> thing as "(not x) in list"So use parenthesis.To me, 'a is not b' is confusing. It reads like 'a is (not b)', but actslike 'not (a is b)'. When I want to check for non-identity, I always usethe form 'not (a is b)'.--Rainer Deyke (root at rainerdeyke.com)Shareware computer games -http://rainerdeyke.com"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor
More information about the Python-listmailing list
[8]ページ先頭