From: Benjamin Peterson Date: Thu, 2 Apr 2009 01:03:26 +0000 (+0000) Subject: add SEEK_ constants to _pyio X-Git-Tag: v3.1a2~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d5fd4ed5c0a9e48d7a0a154ebab3ef57f91c5a6;p=python add SEEK_ constants to _pyio --- diff --git a/Lib/_pyio.py b/Lib/_pyio.py index 334c2b7e05..66cdc20a0e 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