]> granicus.if.org Git - python/commitdiff
Fix typo in previous doc commit.
authorR. David Murray <rdmurray@bitdance.com>
Sat, 11 Sep 2010 19:15:40 +0000 (19:15 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Sat, 11 Sep 2010 19:15:40 +0000 (19:15 +0000)
Doc/howto/doanddont.rst

index e8a684d2b488a1263865d2aa2b2cdf63155d8e8c..640dd9f22a485d7f347ce37e426c5a6b1cf2c1ee 100644 (file)
@@ -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