[Python-Dev] magic method __bytes__

Benjamin Peterson benjamin at python.org
Tue Jan 14 04:24:56 CET 2014


On Mon, Jan 13, 2014, at 05:38 PM, Ethan Furman wrote:
> Has anyone actually used __bytes__ yet?  What for?

In the stdlib itself:

email.message
wsgiref
pathlib


More information about the Python-Dev mailing list