def __init__(self, locals2=None, filename="<console>", histfile=os.path.expanduser("~/.console-history")):
        """
        @type locals2: list, None
        @type filename: str
        @type histfile: str
        @return: None
        """
        code.InteractiveConsole.__init__(self, locals2, filename)
        self.init_history(histfile)
def __init__ ( self , locals2 = None , filename = "<console>" , histfile = os . path . expanduser ( "~/.console-history" ) ) : code . InteractiveConsole . __init__ ( self , locals2 , filename ) self . init_history ( histfile )
@type locals2: list, None
        @type filename: str
        @type histfile: str
        @return: None