DataViews/PyProfileDialog.py

changeset 3591
2f2a4a76dd22
parent 3484
645c12de6b0c
child 3656
441956d8fce5
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
37 s = itm.text(0) 37 s = itm.text(0)
38 return int(s.split('/')[0]) 38 return int(s.split('/')[0])
39 39
40 def __lt__(self, other): 40 def __lt__(self, other):
41 """ 41 """
42 Public method to check, if the item is less than the other one. 42 Special method to check, if the item is less than the other one.
43 43
44 @param other reference to item to compare against 44 @param other reference to item to compare against
45 (ProfileTreeWidgetItem) 45 (ProfileTreeWidgetItem)
46 @return true, if this item is less than other (boolean) 46 @return true, if this item is less than other (boolean)
47 """ 47 """

eric ide

mercurial