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 a599f5d3..2c08e73e 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -283,12 +283,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