3
ipdb> def aaaa(q): q[2]
ipdb> aaaa([1,2,3,4])
ipdb> aaaa([])
*** IndexError: list index out of range
ipdb>

「*** IndexError: list index out of range」だけでなく、完全なトレースバックを表示したい (きれいなもの - スタック フレーム、ローカルなど)。それ、どうやったら出来るの?

4

0 に答える 0