提交 ee8240b2 编写于 作者: C Cole Robinson

python: Add a newline after custom classes

In the generated bindings, custom classes are squashed against the following
class, which hurts readability.
上级 1e87ecd1
...@@ -1337,6 +1337,7 @@ def buildWrappers(): ...@@ -1337,6 +1337,7 @@ def buildWrappers():
classes.write (" # %s methods from %s.py (hand coded)\n" % (classname,classname)) classes.write (" # %s methods from %s.py (hand coded)\n" % (classname,classname))
classes.write (" #\n") classes.write (" #\n")
classes.writelines(extra.readlines()) classes.writelines(extra.readlines())
classes.write("\n")
extra.close() extra.close()
except: except:
pass pass
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册