Skip to content

Commit 67f04c1

Browse files
author
y-p
committed
BLD/DOC: make.py open file as 'w' rather then 'wb'
1 parent 91a58f1 commit 67f04c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/make.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def generate_index(api=True, single=False, **kwds):
321321
with open("source/index.rst.template") as f:
322322
t = Template(f.read())
323323

324-
with open("source/index.rst","wb") as f:
324+
with open("source/index.rst","w") as f:
325325
f.write(t.render(api=api,single=single,**kwds))
326326

327327
import argparse

0 commit comments

Comments
 (0)