On 2/12/2013 6:20 PM, MRAB wrote:
Tuples are much like immutable lists; sets were added, and then frozensets; should we be adding mutable strings too (a bit like C#'s StringBuilder)? (Just wondering...)
StringIO is effectively a mutable string with a file interface. sio.write('abc') is the equivalent of lis.extend(['a', 'b', 'c']).