]>
<< 初めてのPython | main | 初めてのPython(3) 14章 >>
defのネストと関数オブジェクトへの代入ってありなんだ。
x = 1 if x == 1: def func(): print 1 else: def func(): print 2 other = func other()
http://www.panopticon.jp/mt/mt-tb.cgi/12
main
コメントする