]> git.saurik.com Git - wxWidgets.git/blame - wxPython/demo/PyCrust.py
Don't decref if the interpreter is not initialized, (eg. it's in its
[wxWidgets.git] / wxPython / demo / PyCrust.py
CommitLineData
c7e7022c 1
8fa876ca 2import wx.py as py
c7e7022c
RD
3
4#----------------------------------------------------------------------
5
1fded56b 6intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % py.version.VERSION
c7e7022c
RD
7
8def runTest(frame, nb, log):
1fded56b 9 win = py.crust.Crust(nb, intro=intro)
00b6c4e3 10 return win
c7e7022c
RD
11
12#----------------------------------------------------------------------
13
1fded56b 14overview = py.filling.__doc__ + "\n\n" + py.crust.__doc__
0af45411
RD
15
16if __name__ == '__main__':
8641d30c 17 import sys,os
0af45411 18 import run
8eca4fef 19 run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])
0af45411 20