Author: Armin Rigo <[email protected]>
Branch:
Changeset: r68803:dfca95ea34f0
Date: 2014-01-21 13:17 +0100
http://bitbucket.org/pypy/pypy/changeset/dfca95ea34f0/
Log: Maybe a better error message
diff --git a/pypy/module/_cffi_backend/ctypestruct.py
b/pypy/module/_cffi_backend/ctypestruct.py
--- a/pypy/module/_cffi_backend/ctypestruct.py
+++ b/pypy/module/_cffi_backend/ctypestruct.py
@@ -33,7 +33,7 @@
if self.fields_dict is None:
space = self.space
raise operationerrfmt(w_errorcls or space.w_TypeError,
- "'%s' is not completed yet", self.name)
+ "'%s' is opaque or not completed yet", self.name)
def _alignof(self):
self.check_complete(w_errorcls=self.space.w_ValueError)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit