diff options
author | Georg Brandl <georg@python.org> | 2009-04-01 21:00:55 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-04-01 21:00:55 (GMT) |
commit | 88ed8f2c502a436e4417800be3fafce4c15ba87a (patch) | |
tree | 756105f8b8a912d920e586d1cce3038e378d5d36 /Lib/io.py | |
parent | fff2f4bb03f93610c4375f95790e163cc5a94fd5 (diff) | |
download | cpython-88ed8f2c502a436e4417800be3fafce4c15ba87a.zip cpython-88ed8f2c502a436e4417800be3fafce4c15ba87a.tar.gz cpython-88ed8f2c502a436e4417800be3fafce4c15ba87a.tar.bz2 |
#4572: add SEEK_* values as constants in io.py.
Diffstat (limited to 'Lib/io.py')
-rw-r--r-- | Lib/io.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -66,6 +66,11 @@ import threading # open() uses st_blksize whenever we can DEFAULT_BUFFER_SIZE = 8 * 1024 # bytes +# for seek() +SEEK_SET = 0 +SEEK_CUR = 1 +SEEK_END = 2 + # py3k has only new style classes __metaclass__ = type |