Update of /cvsroot/pygccxml/source/pygccxml/declarations
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3322
Modified Files:
decl_printer.py
Log Message:
Added some text to the doc string that explains the difference to __str__
Index: decl_printer.py
===================================================================
RCS file: /cvsroot/pygccxml/source/pygccxml/declarations/decl_printer.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** decl_printer.py 22 Mar 2006 08:05:35 -0000 1.2
--- decl_printer.py 22 Mar 2006 10:43:12 -0000 1.3
***************
*** 10,14 ****
class decl_printer_t( decl_visitor.decl_visitor_t ):
! """ Helper class for printing decl tree. """
JUSTIFY = 20
INDENT_SIZE = 4
--- 10,21 ----
class decl_printer_t( decl_visitor.decl_visitor_t ):
! """Helper class for printing decl tree.
!
! This class provides more information than the __str__() methods do.
! The class is not just meant to provide a unique "id" for a declaration
! but to inspect an entire declaration tree. This is particularly useful
! for new users who want to find out how pyplusplus works and how it
! stores its data.
! """
JUSTIFY = 20
INDENT_SIZE = 4
|