mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Classes without explicit bases still derive from object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -370,6 +370,8 @@ from .%s import *
|
||||
stream.write('%sclass %s' % (indent, pc.name))
|
||||
if pc.bases:
|
||||
stream.write('(%s):\n' % ', '.join(pc.bases))
|
||||
else:
|
||||
stream.write('(object):\n')
|
||||
indent2 = indent + ' '*4
|
||||
if pc.briefDoc:
|
||||
stream.write('%s"""\n' % indent2)
|
||||
|
||||
Reference in New Issue
Block a user