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, 2 insertions, 0 deletions
diff --git a/Lib/getopt.py b/Lib/getopt.py
index 1bc42bd..82cf04d 100644
--- a/Lib/getopt.py
+++ b/Lib/getopt.py
@@ -17,6 +17,8 @@ option involved with the exception.
# Gerrit Holl <gerrit@nl.linux.org> moved the string-based exceptions
# to class-based exceptions.
+__all__ = ["GetoptError","error","getopt"]
+
class GetoptError(Exception):
opt = ''
msg = ''