X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fed7edaa76401b712ac5629eec438344901019f..4219b5e7c7886ae5985b47f622253ea7f5934151:/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.