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