summaryrefslogtreecommitdiffstats
path: root/Demo/tkinter/guido/mbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/tkinter/guido/mbox.py')
-rwxr-xr-xDemo/tkinter/guido/mbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/guido/mbox.py b/Demo/tkinter/guido/mbox.py
index 3c36d88..47c38b9 100755
--- a/Demo/tkinter/guido/mbox.py
+++ b/Demo/tkinter/guido/mbox.py
@@ -27,7 +27,7 @@ def main():
seq = 'all'
try:
opts, args = getopt.getopt(sys.argv[1:], '')
- except getopt.error, msg:
+ except getopt.error as msg:
print msg
sys.exit(2)
for arg in args: