commit | 8d5fd4ed5c0a9e48d7a0a154ebab3ef57f91c5a6 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Apr 02 01:03:26 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Apr 02 01:03:26 2009 +0000 |
tree | f7c9a3c748a406b3219c7e6b40640163d37babe8 | |
parent | 7fe9853596189cb250f895800edfa19147bbb0f1 [diff] [blame] |
add SEEK_ constants to _pyio
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 @@ 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