mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user