Skip to content

Commit b165387

Browse files
committed
🐛 update readme
1 parent 520cf2c commit b165387

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.moban.d/custom_readme.rst.jj2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Otherwise, this library works OK with lxml 3.4.4 or above.
4444
>>> data = OrderedDict()
4545
>>> data.update({"Sheet 1": [[1, 2, 3], [4, 5, 6]]})
4646
>>> data.update({"Sheet 2": [[7, 8, 9], [10, 11, 12]]})
47-
>>> io = StringIO()
47+
>>> io = BytesIO()
4848
>>> save_data(io, data)
4949
>>> unused = io.seek(0)
5050
>>> # do something with the io

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Here's the sample code:
128128
>>> data = OrderedDict()
129129
>>> data.update({"Sheet 1": [[1, 2, 3], [4, 5, 6]]})
130130
>>> data.update({"Sheet 2": [[7, 8, 9], [10, 11, 12]]})
131-
>>> io = StringIO()
131+
>>> io = BytesIO()
132132
>>> save_data(io, data)
133133
>>> unused = io.seek(0)
134134
>>> # do something with the io

0 commit comments

Comments
 (0)