def filter_children( self ):
        """Filter our children into regular and local children sets"""
        real_children = []
        for child in self.children:
            if child.name == '<module>':
                self.local_children.append( child )
            else:
                real_children.append( child )
        self.children = real_children
def filter_children ( self ) : real_children = [ ] for child in self . children : if child . name == '<module>' : self . local_children . append ( child ) else : real_children . append ( child ) self . children = real_children
Filter our children into regular and local children sets