Where did you read this? I can't find any documentation about __bytes__ on google.
Regards, Daniel On Sat, Jan 11, 2014 at 7:24 PM, Ethan Furman <et...@stoneleaf.us> wrote: > 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? > > -- > ~Ethan~ > -- > https://mail.python.org/mailman/listinfo/python-list >
-- https://mail.python.org/mailman/listinfo/python-list