add SEEK_ constants to _pyio

This commit is contained in:
Benjamin Peterson 2009-04-02 01:03:26 +00:00
parent 7fe9853596
commit 8d5fd4ed5c
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ except ImportError:
import io import io
from io import __all__ from io import __all__
from io import SEEK_SET, SEEK_CUR, SEEK_END
# open() uses st_blksize whenever we can # open() uses st_blksize whenever we can
DEFAULT_BUFFER_SIZE = 8 * 1024 # bytes DEFAULT_BUFFER_SIZE = 8 * 1024 # bytes