wxPython/wxGlade-0.9.1/codegen/cpp_codegen.py
def _format_dependencies(self, dependencies):
        "Format a list of header files for the dependencies output"
        dep_list = []
        for dependency in sorted( set(dependencies) ):  # unique and sorted
            if dependency and ('"' != dependency[0] != '<'):
                dep_list.append('#include "%s.h"\n' % dependency)
            else:
                dep_list.append('#include %s\n' % dependency)
        code = self._tagcontent( '::dependencies', dep_list )
        return code
Format a list of header files for the dependencies output
Format a list of header files for the dependencies output
Format a list of header files for the dependencies output
def _format_dependencies(self, dependencies):
        dep_list = []
        for dependency in sorted( set(dependencies) ):  
            if dependency and ('"' != dependency[0] != '<'):
                dep_list.append('#include "%s.h"\n' % dependency)
            else:
                dep_list.append('#include %s\n' % dependency)
        code = self._tagcontent( '::dependencies', dep_list )
        return code
def _format_dependencies ( self , dependencies ) : dep_list = [ ] for dependency in sorted ( set ( dependencies ) ) : if dependency and ( '"' != dependency [ 0 ] != '<' ) : dep_list . append ( '#include "%s.h"\n' % dependency ) else : dep_list . append ( '#include %s\n' % dependency ) code = self . _tagcontent ( '::dependencies' , dep_list ) return code
Format a list of header files for the dependencies output
Format a list of header files for the dependencies output
"Format a list of header files for the dependencies output" # unique and sorted
self
dependencies