[Python-checkins] CVS: python/dist/src/Lib exceptions.py,1.16,1.17

Guido van Rossum guido@cnri.reston.va.us
Thu, 17 Feb 2000 10:12:03 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib

Modified Files:
	exceptions.py 
Log Message:
Added WindowsError, for Mark Hammond's extensions.


Index: exceptions.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/exceptions.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** exceptions.py	1999/08/19 21:17:08	1.16
--- exceptions.py	2000/02/17 15:12:01	1.17
***************
*** 34,37 ****
--- 34,39 ----
        |    +-- IOError
        |    +-- OSError(*)
+       |         |
+       |         +-- WindowsError(*)
        |
        +-- EOFError
***************
*** 138,141 ****
--- 140,147 ----
  class OSError(EnvironmentError):
      """OS system call failed."""
+     pass
+ 
+ class WindowsError(OSError):
+     """MS-Windows OS system call failed."""
      pass