diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-04-02 01:03:26 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-04-02 01:03:26 (GMT) |
commit | 8d5fd4ed5c0a9e48d7a0a154ebab3ef57f91c5a6 (patch) | |
tree | f7c9a3c748a406b3219c7e6b40640163d37babe8 | |
parent | 7fe9853596189cb250f895800edfa19147bbb0f1 (diff) | |
download | cpython-8d5fd4ed5c0a9e48d7a0a154ebab3ef57f91c5a6.zip cpython-8d5fd4ed5c0a9e48d7a0a154ebab3ef57f91c5a6.tar.gz cpython-8d5fd4ed5c0a9e48d7a0a154ebab3ef57f91c5a6.tar.bz2 |
add SEEK_ constants to _pyio
-rw-r--r-- | Lib/_pyio.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/_pyio.py b/Lib/_pyio.py index 334c2b7..66cdc20 100644 --- a/Lib/_pyio.py +++ b/Lib/_pyio.py @@ -14,6 +14,7 @@ except ImportError: import io from io import __all__ +from io import SEEK_SET, SEEK_CUR, SEEK_END # open() uses st_blksize whenever we can DEFAULT_BUFFER_SIZE = 8 * 1024 # bytes |