- property semip:
- """UD.semip -> BOOL: key/value pairs separated with semicolons?"""
- def __get__(me):
- return _tobool(me.ctx.f & URLF_SEMI)
- def __set__(me, val):
- if val:
- me.ctx.f = me.ctx.f | URLF_SEMI
- else:
- me.ctx.f = me.ctx.f & ~URLF_SEMI
- def __del__(me):
- xfree(me.p)
+ @property
+ def semip(me):
+ """UE.semip -> BOOL: separate key/value pairs with semicolons?"""
+ return <bint>(me.ctx.f&URLF_SEMI)
+ @semip.setter
+ def semip(me, val):
+ if val:
+ me.ctx.f |= URLF_SEMI
+ else:
+ me.ctx.f &= ~URLF_SEMI