Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8d5fd4e

Browse files
committed
add SEEK_ constants to _pyio
1 parent 7fe9853 commit 8d5fd4e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/_pyio.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
import io
1616
from io import __all__
17+
from io import SEEK_SET, SEEK_CUR, SEEK_END
1718

1819
# open() uses st_blksize whenever we can
1920
DEFAULT_BUFFER_SIZE = 8 * 1024 # bytes

0 commit comments

Comments
 (0)