Revision: 781
http://svn.sourceforge.net/pygccxml/?rev=781&view=rev
Author: roman_yakovenko
Date: 2006-12-06 02:17:51 -0800 (Wed, 06 Dec 2006)
Log Message:
-----------
small improvement for declaration description
Modified Paths:
--------------
pygccxml_dev/pygccxml/declarations/calldef.py
pygccxml_dev/pygccxml/declarations/declaration.py
Modified: pygccxml_dev/pygccxml/declarations/calldef.py
===================================================================
--- pygccxml_dev/pygccxml/declarations/calldef.py 2006-12-06 08:44:14 UTC (rev 780)
+++ pygccxml_dev/pygccxml/declarations/calldef.py 2006-12-06 10:17:51 UTC (rev 781)
@@ -312,6 +312,7 @@
cls = self.__class__.__name__
if cls[-2:]=="_t":
cls = cls[:-2]
+ cls = cls.replace( '_', ' ' )
return "%s [%s]"%(res, cls)
def _get__cmp__call_items(self):
@@ -392,6 +393,7 @@
cls = self.__class__.__name__
if cls[-2:]=="_t":
cls = cls[:-2]
+ cls = cls.replace( '_', ' ' )
return "%s [%s]"%(res, cls)
def _get__cmp__call_items(self):
Modified: pygccxml_dev/pygccxml/declarations/declaration.py
===================================================================
--- pygccxml_dev/pygccxml/declarations/declaration.py 2006-12-06 08:44:14 UTC (rev 780)
+++ pygccxml_dev/pygccxml/declarations/declaration.py 2006-12-06 10:17:51 UTC (rev 781)
@@ -95,6 +95,7 @@
cls = self.__class__.__name__
if cls[-2:]=="_t":
cls = cls[:-2]
+ cls = cls.replace( '_', ' ' )
return "%s [%s]"%(name, cls)
@staticmethod
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|