1. Tyler Wade
  2. pypy

Commits

Tyler Wade  committed 773b31f

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

  • Participants
  • Parent commits 83e5575
  • Branches default

Comments (0)

Files changed (1)

File pypy/interpreter/pycode.py

View file
         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):