Phoenix: few additional fixes to some of the samples, plus better formatting for the remaining troublesome docs classes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Andrea Gavana
2012-12-03 20:50:04 +00:00
parent 983d3c4c35
commit b117617572
7 changed files with 108 additions and 29 deletions

View File

@@ -288,8 +288,13 @@ def PythonizeType(ptype):
if 'Image.' in ptype:
ptype = ptype.split('.')[-1]
if 'FileName' in ptype:
ptype = 'string'
if ptype.endswith('&'):
ptype = ':class:`%s`'%ptype[0:-1]
ptype = ptype[0:-1]
if ' ' not in ptype:
ptype = ':class:`%s`'%ptype
return ptype