equal
deleted
inserted
replaced
300 """ |
300 """ |
301 return self.req.property_value(self._cwpropkey(propid)) |
301 return self.req.property_value(self._cwpropkey(propid)) |
302 |
302 |
303 # deprecated ############################################################### |
303 # deprecated ############################################################### |
304 |
304 |
305 @classproperty |
|
306 @deprecated('[3.4] use __select__ and & or | operators') |
|
307 def __selectors__(cls): |
|
308 selector = cls.__select__ |
|
309 if isinstance(selector, AndSelector): |
|
310 return tuple(selector.selectors) |
|
311 if not isinstance(selector, tuple): |
|
312 selector = (selector,) |
|
313 return selector |
|
314 |
|
315 @property |
305 @property |
316 @deprecated('[3.5] use self._cw.vreg') |
306 @deprecated('[3.5] use self._cw.vreg') |
317 def vreg(self): |
307 def vreg(self): |
318 return self._cw.vreg |
308 return self._cw.vreg |
319 |
309 |