Commits

Armin Rigo committed dfca95e

Maybe a better error message

  • Participants
  • Parent commits 8f53215

Comments (0)

Files changed (1)

File pypy/module/_cffi_backend/ctypestruct.py

         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)