PyInteractiveConsole: fix line number