Message314970
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
SEEK_CUR or 1 – current stream position; offset may be negative
SEEK_END or 2 – end of the stream; offset is usually negative
"
It seems, they actually should be used as os.SEEK_SET, os.SEEK_CUR and os.SEEK_END. |
|
Date |
User |
Action |
Args |
2018-04-05 09:08:38 | Mikhail Zakharov | set | recipients:
+ Mikhail Zakharov, docs@python |
2018-04-05 09:08:37 | Mikhail Zakharov | set | messageid: <1522919317.94.0.682650639539.issue33229@psf.upfronthosting.co.za> |
2018-04-05 09:08:37 | Mikhail Zakharov | link | issue33229 messages |
2018-04-05 09:08:37 | Mikhail Zakharov | create | |
|