[Python-3000] readinto annotation

Antoine Pitrou solipsis at pitrou.net
Mon Apr 7 15:11:50 CEST 2008


Gregory P. Smith <greg <at> krypto.org> writes:
> 
> yes bytearray makes more sense to me given that its hard to read into an
immutable bytes object ;)

It seems to me that readinto accepts any object providing a writeable buffer
interface. I don't know how to express that as an annotation, though.





More information about the Python-3000 mailing list