(self)
Saves the current input parameters to a stack.  See :meth:`pop_input`.
Saves the current input parameters to a stack.  See :meth:`pop_input`.
Saves the current input parameters to a stack . See : meth : pop_input .
def push_input(self):
        """Saves the current input parameters to a stack.  See :meth:`pop_input`."""
        d = {}
        for i in "interactive", "stdin", "input_line_number":
            d[i] = getattr(self, i)
        self._input_stack.append(d)
def push_input ( self ) : d = { } for i in "interactive" , "stdin" , "input_line_number" : d [ i ] = getattr ( self , i ) self . _input_stack . append ( d )