This commit is contained in:
Dave Schuyler 2001-08-07 02:49:32 +00:00
parent 764aea593e
commit 0e5a871439

View File

@ -19,6 +19,10 @@ class Track(Interval):
# Class methods # Class methods
def __init__(self, intervalList, name=None): def __init__(self, intervalList, name=None):
"""__init__(intervalList, name) """__init__(intervalList, name)
intervalList: <Interval> |
'[' <delay>,
<Interval>
[ , PREVIOUS_END | PREVIOUS_START | TRACK_START ] ']'
""" """
# Record instance variables # Record instance variables
self.currentInterval = None self.currentInterval = None
@ -41,7 +45,7 @@ class Track(Interval):
return self.ilist[item] return self.ilist[item]
# Create a list of this track's intervals, recording time # Create a list of this track's intervals, recording time
# and time type (relative to track start, previous start, previous end # and time type (relative to track start, previous start, or previous end)
def __buildIlist(self, intervalList): def __buildIlist(self, intervalList):
self.ilist = [] self.ilist = []
for i in intervalList: for i in intervalList: