diff options
author | R. David Murray <rdmurray@bitdance.com> | 2010-09-11 19:15:40 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2010-09-11 19:15:40 (GMT) |
commit | a1f74816f52707b5d8ea2735f4da22f8dc9396fc (patch) | |
tree | f89fdc28b31398aed4944a597b2b16bb1092c590 /Doc | |
parent | a9b14a63dc6b5d5170d6359f5695333440c28094 (diff) | |
download | cpython-a1f74816f52707b5d8ea2735f4da22f8dc9396fc.zip cpython-a1f74816f52707b5d8ea2735f4da22f8dc9396fc.tar.gz cpython-a1f74816f52707b5d8ea2735f4da22f8dc9396fc.tar.bz2 |
Fix typo in previous doc commit.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/howto/doanddont.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/doanddont.rst b/Doc/howto/doanddont.rst index e8a684d..640dd9f 100644 --- a/Doc/howto/doanddont.rst +++ b/Doc/howto/doanddont.rst @@ -177,7 +177,7 @@ Because ``except:`` catches *all* exceptions, including :exc:`SystemExit`, should not normally be caught by user code), using a bare ``except:`` is almost never a good idea. In situations where you need to catch all "normal" errors, such as in a framework that runs callbacks, you can catch the base class for -all normal exceptions, :exc:`Exception`. Unfortunately in Python2 it is +all normal exceptions, :exc:`Exception`. Unfortunately in Python 2.x it is possible for third-party code to raise exceptions that do not inherit from :exc:`Exception`, so in Python 2.x there are some cases where you may have to use a bare ``except:`` and manually re-raise the exceptions you don't want |