[pypy-commit] creflect default: fix the error message
arigo
noreply at buildbot.pypy.org
Fri Dec 5 21:08:44 CET 2014
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r179:8cf4c557d1f1
Date: 2014-12-05 20:49 +0100
http://bitbucket.org/cffi/creflect/changeset/8cf4c557d1f1/
Log: fix the error message
diff --git a/zeffir/ffi_obj.c b/zeffir/ffi_obj.c
--- a/zeffir/ffi_obj.c
+++ b/zeffir/ffi_obj.c
@@ -231,8 +231,8 @@
}
else {
PyErr_Format(PyExc_TypeError,
- "expected a pointer or array ctype, got '%s'",
- ct->ct_name);
+ "expected a pointer, struct, union, or array ctype, "
+ "got '%s'", ct->ct_name);
return NULL;
}
More information about the pypy-commit
mailing list