[pygccxml-commit] source/pyplusplus/code_creators algorithm.py,1.14,1.15
Brought to you by:
mbaas,
roman_yakovenko
From: Matthias B. <mb...@us...> - 2006-03-08 09:33:24
|
Update of /cvsroot/pygccxml/source/pyplusplus/code_creators In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15666/code_creators Modified Files: algorithm.py Log Message: Modified some doc strings so that epydoc doesn't generate warnings/errors anymore Index: algorithm.py =================================================================== RCS file: /cvsroot/pygccxml/source/pyplusplus/code_creators/algorithm.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** algorithm.py 6 Mar 2006 04:56:13 -0000 1.14 --- algorithm.py 8 Mar 2006 09:32:52 -0000 1.15 *************** *** 72,79 **** "creator_finder - this class used as namespace" def find_by_declaration( declaration_matcher, where, recursive=True ): ! """ ! Finds code creator by declaration. declaration_matcher should be callable, that takes single argument ! declaration, and returns True or False where - code creator or list of code creators This function returns a list of all relevant code creators --- 72,78 ---- "creator_finder - this class used as namespace" def find_by_declaration( declaration_matcher, where, recursive=True ): ! """Finds code creator by declaration. declaration_matcher should be callable, that takes single argument ! declaration, and returns True or False where - code creator or list of code creators This function returns a list of all relevant code creators *************** *** 100,102 **** search_area = make_flatten( where ) return filter( lambda inst: isinstance( inst, what ), search_area ) ! find_by_class_instance = staticmethod( find_by_class_instance ) \ No newline at end of file --- 99,101 ---- search_area = make_flatten( where ) return filter( lambda inst: isinstance( inst, what ), search_area ) ! find_by_class_instance = staticmethod( find_by_class_instance ) |