From 6cfb00d10650c46508703d4356dddeccacb70e03 Mon Sep 17 00:00:00 2001 From: Nick Presta Date: Fri, 28 Jun 2013 18:34:30 -0400 Subject: [PATCH] Removing the bit about commas and exceptions. --- python.html.markdown | 6 ------ 1 file changed, 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