Use attribute access instead of index access for namedtuple.
Use attribute access instead of index access for namedtuple.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator