summaryrefslogtreecommitdiffstats
path: root/Lib/getopt.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/getopt.py')
-rw-r--r--Lib/getopt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/getopt.py b/Lib/getopt.py
index 4285cbb..04e881e 100644
--- a/Lib/getopt.py
+++ b/Lib/getopt.py
@@ -39,7 +39,7 @@ import os
class GetoptError(Exception):
opt = ''
msg = ''
- def __init__(self, msg, opt):
+ def __init__(self, msg, opt=''):
self.msg = msg
self.opt = opt
Exception.__init__(self, msg, opt)