Damn another occurrence of using as as a keywordf
diff --git a/Lib/plat-mac/applesingle.py b/Lib/plat-mac/applesingle.py
index 56d73a7..b035d9e 100644
--- a/Lib/plat-mac/applesingle.py
+++ b/Lib/plat-mac/applesingle.py
@@ -119,8 +119,8 @@
             infile = infile.as_pathname()
         infile = open(infile, 'rb')
 
-    as = AppleSingle(infile, verbose=verbose)
-    as.tofile(outpath, resonly=resonly)
+    asfile = AppleSingle(infile, verbose=verbose)
+    asfile.tofile(outpath, resonly=resonly)
 
 def _test():
     if len(sys.argv) < 3 or sys.argv[1] == '-r' and len(sys.argv) != 4: