[Python-checkins] r84722 - python/branches/release27-maint/Doc/howto/doanddont.rst

r.david.murray python-checkins at python.org
Sat Sep 11 21:15:40 CEST 2010


Author: r.david.murray
Date: Sat Sep 11 21:15:40 2010
New Revision: 84722

Log:
Fix typo in previous doc commit.


Modified:
   python/branches/release27-maint/Doc/howto/doanddont.rst

Modified: python/branches/release27-maint/Doc/howto/doanddont.rst
==============================================================================
--- python/branches/release27-maint/Doc/howto/doanddont.rst	(original)
+++ python/branches/release27-maint/Doc/howto/doanddont.rst	Sat Sep 11 21:15:40 2010
@@ -177,7 +177,7 @@
 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


More information about the Python-checkins mailing list