Re: Where read() is documented

2020-08-30 Thread Chris Green
Stefan Ram wrote: > Chris Green writes: > >I went to sys.stdin but it didn't really lead me easily to the read() > >method. All I actually wanted to know was what was the type of the > >return value of the read() method which is different in Python 2 and 3. > > |>>> import sys > |>>> >>> sys.st

Re: Where read() is documented

2020-08-30 Thread Chris Green
MRAB wrote: > On 2020-08-29 17:48, Chris Green wrote: > > Stefan Ram wrote: > >> Chris Green writes:I can't find the documentation for > >> >read(). It's not a built-in function and it's not documented with > >> >(for example) the file type object sys.stdin. > >> > >> |read() (asyncio.Stre

Re: Where read() is documented

2020-08-29 Thread Joe Pfeiffer
Chris Green writes: > Stefan Ram wrote: >> Chris Green writes:I can't find the documentation for >> >read(). It's not a built-in function and it's not documented with >> >(for example) the file type object sys.stdin. >> >> |read() (asyncio.StreamReader method), 894 >> |read() (chunk.Chunk

Re: Where read() is documented

2020-08-29 Thread MRAB
On 2020-08-29 17:48, Chris Green wrote: Stefan Ram wrote: Chris Green writes:I can't find the documentation for >read(). It's not a built-in function and it's not documented with >(for example) the file type object sys.stdin. |read() (asyncio.StreamReader method), 894 |read() (chunk.Chun

Re: Where read() is documented

2020-08-29 Thread Chris Green
Stefan Ram wrote: > Chris Green writes:I can't find the documentation for > >read(). It's not a built-in function and it's not documented with > >(for example) the file type object sys.stdin. > > |read() (asyncio.StreamReader method), 894 > |read() (chunk.Chunk method), 1385 > |read() (code