The InteractiveConsole class is a subclass of InteractiveInterpreter, and so offers all the methods of the interpreter objects as well as the following additions.
1
if more input is required,
0
if the line was dealt with in some way (this is the same as
runsource()).