mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
indent the GIL macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -747,7 +747,7 @@ from %s import *
|
||||
stream.write('sipCpp = %s(%s);\n' % (fname, pnames))
|
||||
else:
|
||||
stream.write('PyErr_Clear();\n')
|
||||
stream.write('Py_BEGIN_ALLOW_THREADS\n')
|
||||
stream.write('%sPy_BEGIN_ALLOW_THREADS\n' % (indent+' '*4))
|
||||
stream.write(indent+' '*4)
|
||||
if method.type != 'void':
|
||||
stream.write('sipRes = ')
|
||||
@@ -762,7 +762,7 @@ from %s import *
|
||||
stream.write('%s(sipCpp%s);\n' % (fname, pnames))
|
||||
else:
|
||||
stream.write('%s(%s);\n' % (fname, pnames))
|
||||
stream.write('Py_END_ALLOW_THREADS\n')
|
||||
stream.write('%sPy_END_ALLOW_THREADS\n' % (indent+' '*4))
|
||||
stream.write('%sif (PyErr_Occurred()) sipIsErr = 1;\n' % (indent+' '*4))
|
||||
stream.write('%s%%End\n' % indent)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user