summaryrefslogtreecommitdiffstats
path: root/Lib/tabnanny.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/tabnanny.py')
-rwxr-xr-xLib/tabnanny.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tabnanny.py b/Lib/tabnanny.py
index a0492e6..7d2ca52 100755
--- a/Lib/tabnanny.py
+++ b/Lib/tabnanny.py
@@ -47,7 +47,7 @@ def main():
for arg in args:
check(arg)
-class NannyNag:
+class NannyNag(Exception):
def __init__(self, lineno, msg, line):
self.lineno, self.msg, self.line = lineno, msg, line
def get_lineno(self):