News for hackers. Stuff that matters.
Re:Migrated WordGap from Python to Go 1 by icebraining on Saturday March 23, 2013 @11:07PM (#5430912)
Strings are immutable, but bytearrays aren't and they support most string methods.

  g = bytearray('Do this')
  g
  >>> bytearray(b'Do this')
  g[:2] = 'On'
  g
  >>> bytearray(b'On this')

There are no comments on this comment yet.