Commit 711059f3 authored by Stefan Behnel's avatar Stefan Behnel

show "except *" declaration in error messages to help distinguishing between incompatible types

parent 0a6611ef
......@@ -2710,8 +2710,9 @@ class CFuncType(CType):
trailer = " except %s" % self.exception_value
elif self.exception_check == '+':
trailer = " except +"
else:
" except *" # ignored
elif self.exception_check and for_display:
# not spelled out by default, unless for human eyes
trailer = " except *"
if self.nogil:
trailer += " nogil"
if not with_calling_convention:
......
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