summaryrefslogtreecommitdiff
path: root/Lib/idlelib/PyShell.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2006-07-24 17:13:23 +0000
committerKurt B. Kaiser <kbk@shore.net>2006-07-24 17:13:23 +0000
commitb3c4d16e688d073dae92f272d66b6efa4b70a734 (patch)
tree5cd1236555b3c8831882b6221dd6700d99a46eae /Lib/idlelib/PyShell.py
parentc13c34c39d0a39b3f3bfe1d2145861dbdc19dd68 (diff)
downloadcpython-git-b3c4d16e688d073dae92f272d66b6efa4b70a734.tar.gz
EditorWindow failed when used stand-alone if sys.ps1 not set.
Bug 1010370 Dave Florek M EditorWindow.py M PyShell.py M NEWS.txt
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rw-r--r--Lib/idlelib/PyShell.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index f7622f14f9..227372ef2a 100644
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -1306,10 +1306,6 @@ def main():
script = None
startup = False
try:
- sys.ps1
- except AttributeError:
- sys.ps1 = '>>> '
- try:
opts, args = getopt.getopt(sys.argv[1:], "c:deihnr:st:")
except getopt.error, msg:
sys.stderr.write("Error: %s\n" % str(msg))