Commits

Maciej Fijalkowski committed 27c0ece

fix test_continuelet

Comments (0)

Files changed (1)

rpython/rlib/_stacklet_n_a.py

         return h
     new._annspecialcase_ = 'specialize:arg(1)'
 
-    def switch(thrd, h):
-        h = _c.switch(thrd._thrd, h)
+    def switch(h):
+        h = _c.switch(h)
         if not h:
             raise MemoryError
         return h