[Python-Dev] io.BufferedReader.peek() Behaviour in python3.1

Benjamin Peterson benjamin at python.org
Sun Jun 14 16:21:32 CEST 2009


2009/6/14 Cameron Simpson <cs at zip.com.au>:
> On 14Jun2009 15:16, I wrote:
> | Is it possible to access the buffer? I see nothing in the docs.
>
> I've just found getvalue() in IOBase. Forget I said anything.
> It seems to be my day for that kind of post:-(

Where are you seeing this? Only BytesIO and StringIO have a getvalue() method.


-- 
Regards,
Benjamin


More information about the Python-Dev mailing list