E
Ethan Furman
Python 3 has a new method, __bytes__. The docs say: Called by bytes() to compute a byte-string representation of an
object. This should return a bytes object.
I must admit I'm not entirely clear how this should be used. Is anyone using this now? If so, how?
object. This should return a bytes object.
I must admit I'm not entirely clear how this should be used. Is anyone using this now? If so, how?