Commits

Armin Rigo committed f315737

Fix: this assert was not checking anything.

Comments (0)

Files changed (1)

                 raise api.FFIError(
                     "multiple declarations of %s (for interactive usage, "
                     "try cdef(xx, override=True))" % (name,))
-        assert name != '__dotdotdot__'
+        assert '__dotdotdot__' not in name.split()
         self._declarations[name] = obj
 
     def _get_type_pointer(self, type, const=False):