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