Fix errors in Python 3 build
This commit is contained in:
parent
62cb43bb8d
commit
f3745a23be
2 changed files with 11 additions and 11 deletions
|
@ -385,7 +385,7 @@ def make_license_header(target, source, env):
|
|||
|
||||
|
||||
def _make_doc_data_class_path(to_path):
|
||||
g = open_utf8(os.path.join(to_path,"doc_data_class_path.gen.h"), "wb")
|
||||
g = open_utf8(os.path.join(to_path,"doc_data_class_path.gen.h"), "w")
|
||||
g.write("static const int _doc_data_class_path_count="+str(len(env.doc_class_path))+";\n")
|
||||
g.write("struct _DocDataClassPath { const char* name; const char* path; };\n")
|
||||
|
||||
|
|
Loading…
Reference in a new issue