equal
deleted
inserted
replaced
102 @classproperty |
102 @classproperty |
103 @obsolete('use __select__ and & or | operators') |
103 @obsolete('use __select__ and & or | operators') |
104 def __selectors__(cls): |
104 def __selectors__(cls): |
105 selector = cls.__select__ |
105 selector = cls.__select__ |
106 if isinstance(selector, AndSelector): |
106 if isinstance(selector, AndSelector): |
107 return selector.selectors |
107 return tuple(selector.selectors) |
108 if not isinstance(selector, tuple): |
108 if not isinstance(selector, tuple): |
109 selector = (selector,) |
109 selector = (selector,) |
110 return selector |
110 return selector |
111 |
111 |
112 @classmethod |
112 @classmethod |