Le 18/04/2011 10:33, Raymond Hettinger a écrit : >> # -------------------------------------- >> def bool_equivalent(x): >> return True if x else False >> It's faster to write: >> def bool_equivalent(x): > return not not x > faster and ... smarter ;)
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル