[issue33229] Documentation - io — Core tools for working with streams - seek()

2018-04-08 Thread Mikhail Zakharov
Change by Mikhail Zakharov : -- stage: -> resolved status: open -> closed ___ Python tracker ___

[issue33229] Documentation - io — Core tools for working with streams - seek()

2018-04-05 Thread Mikhail Zakharov
Mikhail Zakharov added the comment: OK, I got it. Sorry for disturbing you. The should be called like: io.SEEK_* -- ___ Python tracker

[issue33229] Documentation - io — Core tools for working with streams - seek()

2018-04-05 Thread Mikhail Zakharov
Mikhail Zakharov added the comment: Seems in my, quite old 3.4.5 version, it doesn't work: $ python3 Python 3.4.5 (default, Jun 1 2017, 13:52:39) [GCC 4.4.7 20120313 (Red Hat 4.4.7-18)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> f

[issue33229] Documentation - io — Core tools for working with streams - seek()

2018-04-05 Thread Josh Rosenberg
Josh Rosenberg added the comment: As indicated in the seek docs ( https://docs.python.org/3/library/io.html#io.IOBase.seek ), all three names were added to the io module in 3.1: > New in version 3.1: The SEEK_* constants. Since they're part of the io module

[issue33229] Documentation - io — Core tools for working with streams - seek()

2018-04-05 Thread Mikhail Zakharov
New submission from Mikhail Zakharov : Documentation for io.IOBase class and it's seek() method at https://docs.python.org/3/library/io.html mentions SEEK_* constants like: "SEEK_SET or 0 – start of the stream (the default); offset should be zero or positive