diff options
author | Nick Presta <nick@nickpresta.ca> | 2013-06-28 18:34:30 -0400 |
---|---|---|
committer | Nick Presta <nick@nickpresta.ca> | 2013-06-28 18:34:30 -0400 |
commit | 6cfb00d10650c46508703d4356dddeccacb70e03 (patch) | |
tree | 0a77c573438573c95c3fce2e20fa7bf76edb176a /python.html.markdown | |
parent | 0c0117a1386c5513ee46ad2edfebd64fe7d25c5b (diff) |
Removing the bit about commas and exceptions.
Diffstat (limited to 'python.html.markdown')
-rw-r--r-- | python.html.markdown | 6 |
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 |