Fix a DeprecationWarning about __getitem__() and exceptions in the 'traceback' module.
diff --git a/Lib/traceback.py b/Lib/traceback.py
index 31b8255..3d877ee 100644
--- a/Lib/traceback.py
+++ b/Lib/traceback.py
@@ -181,7 +181,7 @@
     # It was a syntax error; show exactly where the problem was found.
     lines = []
     try:
-        msg, (filename, lineno, offset, badline) = value
+        msg, (filename, lineno, offset, badline) = value.args
     except Exception:
         pass
     else: