Convert raise statements in Lib/plat-{mac,os2emx}.
diff --git a/Lib/plat-mac/macresource.py b/Lib/plat-mac/macresource.py
index fc8b381..14581a3 100644
--- a/Lib/plat-mac/macresource.py
+++ b/Lib/plat-mac/macresource.py
@@ -19,7 +19,7 @@
     Returns the refno of the resource file opened (or None)"""
 
     if modname is None and filename is None:
-        raise ArgumentError, "Either filename or modname argument (or both) must be given"
+        raise ArgumentError("Either filename or modname argument (or both) must be given")
 
     if type(resid) is type(1):
         try:
@@ -60,7 +60,7 @@
         if os.path.exists(pathname):
             break
     else:
-        raise ResourceFileNotFoundError, filename
+        raise ResourceFileNotFoundError(filename)
 
     refno = open_pathname(pathname)