[pypy-commit] pypy default: Code cleanup (stray print, bad variable name, and bare except)

waedt noreply at buildbot.pypy.org
Tue Jun 4 11:58:40 CEST 2013


Author: Tyler Wade <wayedt at gmail.com>
Branch: 
Changeset: r64756:773b31fdbf56
Date: 2013-04-29 12:39 -0500
http://bitbucket.org/pypy/pypy/changeset/773b31fdbf56/

Log:	Code cleanup (stray print, bad variable name, and bare except)

diff --git a/pypy/interpreter/pycode.py b/pypy/interpreter/pycode.py
--- a/pypy/interpreter/pycode.py
+++ b/pypy/interpreter/pycode.py
@@ -222,7 +222,7 @@
         if self.co_flags & CO_KILL_DOCSTRING:
             self.co_consts_w[0] = space.w_None
         for w_co in self.co_consts_w:
-            if isinstance(co_w, PyCode):
+            if isinstance(w_co, PyCode):
                 w_co.remove_docstrings(space)
 
     def _to_code(self):


More information about the pypy-commit mailing list