X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fed7edaa76401b712ac5629eec438344901019f..908f8fc481c0503bf8be5002e5d5208666da7649:/wxPython/wx/py/interpreter.py diff --git a/wxPython/wx/py/interpreter.py b/wxPython/wx/py/interpreter.py index 112344ad3f..4eef617272 100644 --- a/wxPython/wx/py/interpreter.py +++ b/wxPython/wx/py/interpreter.py @@ -42,7 +42,8 @@ class Interpreter(InteractiveInterpreter): self.more = 0 # List of lists to support recursive push(). self.commandBuffer = [] - self.startupScript = os.environ.get('PYTHONSTARTUP') + self.startupScript = None + def push(self, command): """Send command to the interpreter to be executed.