Hmmm, Beazley book missing something?

David Bolen db3l at fitlinxx.com
Tue Aug 1 17:42:00 EDT 2000


grey at despair.rpglink.com (Steve Lamb) writes:

>     I see readline and readlines in there.  Only mention of it is in the
> multifile object.  No __doc__ string for those methods, either.  Did this get
> overlooked in this book?

sys.stdin is just an instance of a built-in file object type, from
which it inherits its methods.  I don't have my copy of the Essential
book in front of me, but there's probably a discussion of these
methods around the sections of other built in object types.

You can also find some information in the tutorial (section 7.2, page
43), and in the library reference (section 2.1.6, page 11).

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list