summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-04-02 01:03:26 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-04-02 01:03:26 (GMT)
commit8d5fd4ed5c0a9e48d7a0a154ebab3ef57f91c5a6 (patch)
treef7c9a3c748a406b3219c7e6b40640163d37babe8
parent7fe9853596189cb250f895800edfa19147bbb0f1 (diff)
downloadcpython-8d5fd4ed5c0a9e48d7a0a154ebab3ef57f91c5a6.zip
cpython-8d5fd4ed5c0a9e48d7a0a154ebab3ef57f91c5a6.tar.gz
cpython-8d5fd4ed5c0a9e48d7a0a154ebab3ef57f91c5a6.tar.bz2
add SEEK_ constants to _pyio
-rw-r--r--Lib/_pyio.py1
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