[pypy-commit] pypy default: fix "to" vs. "do" typos

gutworth pypy.commits at gmail.com
Tue Jan 24 01:48:54 EST 2017


Author: Benjamin Peterson <benjamin at python.org>
Branch: 
Changeset: r89716:c88adb030f33
Date: 2017-01-23 22:48 -0800
http://bitbucket.org/pypy/pypy/changeset/c88adb030f33/

Log:	fix "to" vs. "do" typos

diff --git a/pypy/module/zipimport/interp_zipimport.py b/pypy/module/zipimport/interp_zipimport.py
--- a/pypy/module/zipimport/interp_zipimport.py
+++ b/pypy/module/zipimport/interp_zipimport.py
@@ -255,7 +255,7 @@
                 pass
             except RZlibError as e:
                 # in this case, CPython raises the direct exception coming
-                # from the zlib module: let's to the same
+                # from the zlib module: let's do the same
                 raise zlib_error(space, e.msg)
             else:
                 if is_package:
@@ -289,7 +289,7 @@
             raise oefmt(space.w_IOError, "Error reading file")
         except RZlibError as e:
             # in this case, CPython raises the direct exception coming
-            # from the zlib module: let's to the same
+            # from the zlib module: let's do the same
             raise zlib_error(space, e.msg)
 
     @unwrap_spec(fullname=str)
@@ -390,7 +390,7 @@
         raise oefmt(get_error(space), "%s seems not to be a zipfile", filename)
     except RZlibError as e:
         # in this case, CPython raises the direct exception coming
-        # from the zlib module: let's to the same
+        # from the zlib module: let's do the same
         raise zlib_error(space, e.msg)
 
     prefix = name[len(filename):]


More information about the pypy-commit mailing list