bartc <bc at freeuk.com>: > Anyway, try this: >> def showarg(x): print(x) >> def dummy(*args,**kwargs): pass >> dummy(a=showarg(1),*[showarg(2),showarg(3)]) >> This displays 2,3,1 showing that evaluation is not left to right. Nice one! Marko
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル