Changeset 5251ec6 in sasview for src/sas/sasgui/guiframe/utils.py
- Timestamp:
- Oct 11, 2018 2:20:56 PM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1249
- Children:
- 98b9f32
- Parents:
- 67ed543
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/utils.py
r7432acb r5251ec6 208 208 self.id_list = id_list 209 209 self.index = -1 210 def next(self):210 def __next__(self): 211 211 self.index += 1 212 212 return self.id_list[self.index] 213 213 # CRUFT: python 2 uses next rather than __next__ for iterator 214 next = __next__ 215
Note: See TracChangeset
for help on using the changeset viewer.