list object is not callable,该如何处理

list object is not callableif starttime(startindex).hourstoptime(i).hour:if not iterm(i):contin

list object is not callable
if starttime(startindex).hour==stoptime(i).hour:
  if not i==term(i):
  continue
  else:
  m=False
  lastedindex=startindex
  cardic[str(starttime(lastedindex).hour)]=mainlinenum(i)-mainlinenum(startindex)
第一行,不可调用?

[解决办法]

Python code
if starttime[startindex].hour==stoptime[i].hour: