(self, completion)
return ''
Provide additional information about the completion object.
Provide additional information about the completion object.
Provide additional information about the completion object .
def _additional_info(self, completion):
        """Provide additional information about the completion object."""
        if not hasattr(completion, '_definition') or completion._definition is None:
            return ''
        if completion.type == 'statement':
            nodes_to_display = ['InstanceElement', 'String', 'Node', 'Lambda',
                                'Number']
            return ''.join(c.get_code() for c in
                           completion._definition.children if type(c).__name__
                           in nodes_to_display).replace('\n', '')
        return ''
def _additional_info ( self , completion ) : if not hasattr ( completion , '_definition' ) or completion . _definition is None : return '' if completion . type == 'statement' : nodes_to_display = [ 'InstanceElement' , 'String' , 'Node' , 'Lambda' , 'Number' ] return '' . join ( c . get_code ( ) for c in completion . _definition . children if type ( c ) . __name__ in nodes_to_display ) . replace ( '\n' , '' ) return ''