def get_attribute(self):
        """Gets the appropriate module attribute name for a collection 
        corresponding to the context's element type."""
        attributes = ['dependencies', 'publics', 'members', 
                          'types', 'executables']
        #Find the correct attribute based on the type of the context
        if self.context.el_type in [Function, Subroutine]:
            attribute = attributes[4]
        elif self.context.el_type == CustomType:
            attribute = attributes[3]
        else:
            attribute = attributes[2]

        return attribute
def get_attribute ( self ) : attributes = [ 'dependencies' , 'publics' , 'members' , 'types' , 'executables' ] if self . context . el_type in [ Function , Subroutine ] : attribute = attributes [ 4 ] elif self . context . el_type == CustomType : attribute = attributes [ 3 ] else : attribute = attributes [ 2 ] return attribute
Gets the appropriate module attribute name for a collection 
        corresponding to the context's element type.