~ubuntu-branches/ubuntu/saucy/python2.7/saucy-proposed

« back to all changes in this revision

Viewing changes to Doc/library/io.rst

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-05-15 19:15:16 UTC
  • mto: (36.1.23 sid)
  • mto: This revision was merged to the branch mainline in revision 87.
  • Revision ID: package-import@ubuntu.com-20130515191516-zmv6to904wemey7s
Tags: upstream-2.7.5
ImportĀ upstreamĀ versionĀ 2.7.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
296
296
      to control the number of lines read: no more lines will be read if the
297
297
      total size (in bytes/characters) of all lines so far exceeds *hint*.
298
298
 
 
299
      Note that it's already possible to iterate on file objects using ``for
 
300
      line in file: ...`` without calling ``file.readlines()``.
 
301
 
299
302
   .. method:: seek(offset, whence=SEEK_SET)
300
303
 
301
304
      Change the stream position to the given byte *offset*.  *offset* is