Home | History | Annotate | Download | only in whatsnew

Lines Matching full:bytearray

983 as strings are.  A new :class:`bytearray` type stores a mutable
986 >>> bytearray([65, 66, 67])
987 bytearray(b'ABC')
988 >>> b = bytearray(u'\u21ef\u3244', 'utf-8')
990 bytearray(b'\xe2\x87\xaf\xe3\x89\x84')
993 bytearray(b'\xe3\x87\xaf\xe3\x89\x84')
1004 >>> b = bytearray('ABC')
1008 bytearray(b'ABCde')