from pseudo import PseudoFileErr
from version import VERSION
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
sys.ps3 = '<-- ' # Input prompt.
NAVKEYS = (wx.WXK_END, wx.WXK_LEFT, wx.WXK_RIGHT,
editwindow.EditWindow.__init__(self, parent, id, pos, size, style)
self.wrap()
if locals is None:
- locals = {}
+ import __main__
+ locals = __main__.__dict__
# Grab these so they can be restored by self.redirect* methods.
self.stdin = sys.stdin
self.stdout = sys.stdout