summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlodin <LouieDinh@gmail.com>2013-06-30 16:22:54 -0700
committerlodin <LouieDinh@gmail.com>2013-06-30 16:22:54 -0700
commit2431545594963be4a79a2d4fbc79277fb30fef3b (patch)
treec9e4798813680354908f575b0a9ceaff62e1c040
parentec6ffed3c92928bc86424ae9f2ea6d1e02bbbc03 (diff)
parent6cfb00d10650c46508703d4356dddeccacb70e03 (diff)
Merge pull request #22 from NickPresta/patch-1
Python: Removing the bit about commas and exceptions.
-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