Fixes issue #6838: use a list to accumulate the value instead of repeatedly concatenating strings.
Fixes issue #6838: use a list to accumulate the value instead of repeatedly concatenating strings.

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