1. Alexis D.
  2. pypy

Commits

Dusty Phillips  committed 1eb8141

fix exception syntax

  • Participants
  • Parent commits f147803
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/module/_continuation/test/test_stacklet.py

View file
                 res = "got keyerror"
             try:
                 c1.switch(res)
-            except IndexError, e:
+            except IndexError as e:
                 pass
             try:
                 c1.switch(e)
-            except IndexError, e2:
+            except IndexError as e2:
                 pass
             try:
                 c1.switch(e2)