105
108
class InternalShell(PythonShellWidget):
106
109
"""Shell base widget: link between PythonShellWidget and Interpreter"""
107
def __init__(self, parent=None, namespace=None, commands=[], message="",
110
def __init__(self, parent=None, namespace=None, commands=[], message=None,
108
111
max_line_count=300, font=None, exitfunc=None, profile=False,
109
112
multithreaded=True, light_background=True):
110
113
PythonShellWidget.__init__(self, parent,
114
117
self.set_light_background(light_background)
116
118
self.multithreaded = multithreaded
118
119
self.setMaximumBlockCount(max_line_count)