Author: Antonio Cuni <[email protected]>
Branch: cpyext-fast-typecheck
Changeset: r94110:0a2ba014f332
Date: 2018-03-23 10:15 +0000
http://bitbucket.org/pypy/pypy/changeset/0a2ba014f332/

Log:    fix

diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py
--- a/pypy/module/cpyext/slotdefs.py
+++ b/pypy/module/cpyext/slotdefs.py
@@ -208,7 +208,7 @@
             w_type = __args__.arguments_w[1]
         else:
             raise oefmt(space.w_TypeError,
-                        "expected 1 or 2 arguments, got %d", len(args_w))
+                        "expected 1 or 2 arguments, got %d", 
len(__args__.arguments_w))
         if w_obj is space.w_None:
             w_obj = None
         if w_type is space.w_None:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to