doc: clarified "is_selected" property, removed redundant doc comment

This commit is contained in:
Zen-CODE 2014-06-29 09:13:26 +02:00
parent fe223b83e9
commit f5deaee5dc
1 changed files with 2 additions and 3 deletions

View File

@ -48,8 +48,6 @@ __all__ = ('SelectableDataItem', )
class SelectableDataItem(object): class SelectableDataItem(object):
''' '''
A mixin class containing requirements for selection operations. A mixin class containing requirements for selection operations.
This is the is_selected boolean property.
''' '''
def __init__(self, **kwargs): def __init__(self, **kwargs):
@ -59,7 +57,8 @@ class SelectableDataItem(object):
@property @property
def is_selected(self): def is_selected(self):
"""Is the data item selected""" """A boolean property indicating whether the data item is selected or
not."""
return self._is_selected return self._is_selected
@is_selected.setter @is_selected.setter