New in version 2.6.
Return a new bytearray object from any object, o, that implements the buffer protocol.
Complex Number Objects
String/Bytes Objects