[Python-checkins] r83172 - peps/trunk/pep-3151.txt

antoine.pitrou python-checkins at python.org
Tue Jul 27 00:20:53 CEST 2010


Author: antoine.pitrou
Date: Tue Jul 27 00:20:52 2010
New Revision: 83172

Log:
Typo fixes by Éric Araujo.



Modified:
   peps/trunk/pep-3151.txt

Modified: peps/trunk/pep-3151.txt
==============================================================================
--- peps/trunk/pep-3151.txt	(original)
+++ peps/trunk/pep-3151.txt	Tue Jul 27 00:20:52 2010
@@ -40,7 +40,7 @@
 --------------------------------------
 
 OS-related (or system call-related) exceptions are currently a diversity
-of classes, arranged in the following subhierarchies::
+of classes, arranged in the following sub-hierarchies::
 
     +-- EnvironmentError
         +-- IOError
@@ -95,7 +95,7 @@
 anyway.
 
 .. note::
-    `Appendix B`_ surveys the use of the various exception types accross
+    `Appendix B`_ surveys the use of the various exception types across
     the interpreter and the standard library.
 
 
@@ -178,7 +178,7 @@
 
 * *useful compatibility* doesn't alter the behaviour of *careful*
   exception-catching code.  Given the following kind of snippet, the same
-  errors should be silenced or reraised, regardless of whether this PEP
+  errors should be silenced or re-raised, regardless of whether this PEP
   has been implemented or not::
 
       try:
@@ -213,9 +213,9 @@
 Each of these changes doesn't preserve exact compatibility, but it does
 preserve *useful compatibility* (see "compatibility" section above).
 
-Each of these changes can be accepted or refused invididually, but of course
+Each of these changes can be accepted or refused individually, but of course
 it is considered that the greatest impact can be achieved if this first step
-is accepted in full.  In this case, the IO exception subhierarchy would
+is accepted in full.  In this case, the IO exception sub-hierarchy would
 become::
 
     +-- IOError   (replacing OSError, WindowsError, EnvironmentError, etc.)
@@ -667,7 +667,7 @@
 mmap
 ''''
 
-Undex Unix, raises its own ``mmap.error`` (inheriting from EnvironmentError)
+Under Unix, raises its own ``mmap.error`` (inheriting from EnvironmentError)
 throughout::
 
     >>> mmap.mmap(123, 10)
@@ -711,7 +711,7 @@
 ''''''''''
 
 The ``os`` (or ``posix``) module raises OSError throughout, except under
-Windows where WindosError can be raised instead.
+Windows where WindowsError can be raised instead.
 
 ossaudiodev
 '''''''''''


More information about the Python-checkins mailing list