]> granicus.if.org Git - python/commitdiff
add SEEK_ constants to _pyio
authorBenjamin Peterson <benjamin@python.org>
Thu, 2 Apr 2009 01:03:26 +0000 (01:03 +0000)
committerBenjamin Peterson <benjamin@python.org>
Thu, 2 Apr 2009 01:03:26 +0000 (01:03 +0000)
Lib/_pyio.py

index 334c2b7e05f9f4cc0d33b5bb9791ae5505f869b1..66cdc20a0eaed9f4309a3c6ccfb04e070488b9c6 100644 (file)
@@ -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