mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-17 01:51:39 +09:00
11 lines
164 B
Python
11 lines
164 B
Python
from io import BufferedReader, FileIO
|
|
|
|
fi = FileIO('Cargo.toml')
|
|
bb = BufferedReader(fi)
|
|
|
|
result = bb.read()
|
|
|
|
assert len(result) <= 8*1024
|
|
assert len(result) >= 0
|
|
|