Commit 5e7b7c0d authored by Xavier Thompson's avatar Xavier Thompson

Correct display of cypclass types in errors

parent 534ea61f
......@@ -4645,7 +4645,7 @@ class CypClassType(CppClassType):
def declaration_code(self, entity_code,
for_display = 0, dll_linkage = None, pyrex = 0,
template_params = None, deref = 0):
if not deref:
if not deref and not for_display:
entity_code = "*%s" % entity_code
return super(CypClassType, self).declaration_code(entity_code,
for_display=for_display, dll_linkage=dll_linkage,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment