> def reindent(src, indent): > return ("\n" + " "*indent).join(src.split("\n")) Can this be simplified to: return src.replace("\n", "\n" + " "*indent) Raymond Hettinger
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル