Commit 10cc7d66 authored by Xavier Thompson's avatar Xavier Thompson

Fix representation of function signatures with CheckedResult exception signaling

parent 628d15a2
...@@ -3293,6 +3293,8 @@ class CFuncType(CType): ...@@ -3293,6 +3293,8 @@ class CFuncType(CType):
trailer = " except %s" % self.exception_value trailer = " except %s" % self.exception_value
elif self.exception_check == '+': elif self.exception_check == '+':
trailer = " except +" trailer = " except +"
elif self.exception_check == '~':
trailer = " except ~"
elif self.exception_check and for_display: elif self.exception_check and for_display:
# not spelled out by default, unless for human eyes # not spelled out by default, unless for human eyes
trailer = " except *" trailer = " except *"
......
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