Message162911
| Author |
pitrou |
| Recipients |
Arfrever, docs@python, jaraco, jgeralnik, pitrou, r.david.murray, serhiy.storchaka, zach.ware |
| Date |
2012年06月15日.15:40:02 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1339774613.3360.0.camel@localhost.localdomain> |
| In-reply-to |
<1339771282.6648.143.camel@raxxla> |
| Content |
Le vendredi 15 juin 2012 à 14:41 +0000, Serhiy Storchaka a écrit :
> >From io.RawIOBase.read docs:
>
> """
> Read up to n bytes from the object and return them. As a convenience, if
> n is unspecified or -1, readall() is called. Otherwise, only one system
> call is ever made. Fewer than n bytes may be returned if the operating
> system call returns fewer than n bytes.
But sys.stdin does not implement RawIOBase, it implements TextIOBase. |
|