Consider this in Python 3.1: >>> def f(a=42): ... return a ... >>> f() 42 >>> f.__defaults__ = (23,) >>> f() 23 Is this an accident of implementation, or can I trust that changing function defaults in this fashion is guaranteed to work? -- Steven
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル