summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--python.html.markdown6
1 files changed, 0 insertions, 6 deletions
diff --git a/python.html.markdown b/python.html.markdown
index e2ad1eff..19e2aebe 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -290,12 +290,6 @@ try:
except IndexError as e:
pass # Pass is just a no-op. Usually you would do recovery here.
-# Works for Python 2.7 and down:
-try:
- raise IndexError("This is an index error")
-except IndexError, e: # No "as", comma instead
- pass
-
####################################################
## 4. Functions