parameters: (instance)
return_statement: return instance_methods
docstring: Retrieves an objects public methods
  
      :param instance: The instance of the class to inspect
      :rtype: dict
      :returns: A dictionary that represents an instance's methods where
          the keys are the name of the methods and the
          values are the handler to the method.
docstring_summary: Retrieves an objects public methods
docstring_tokens: Retrieves an objects public methods
function: def get_instance_public_methods(instance):
      """Retrieves an objects public methods
  
      :param instance: The instance of the class to inspect
      :rtype: dict
      :returns: A dictionary that represents an instance's methods where
          the keys are the name of the methods and the
          values are the handler to the method.
      """
      instance_members = inspect.getmembers(instance)
      instance_methods = {}
      for name, member in instance_members:
          if not name.startswith('_'):
              if inspect.ismethod(member):
                  instance_methods[name] = member
      return instance_methods
function_tokens: def get_instance_public_methods ( instance ) : instance_members = inspect . getmembers ( instance ) instance_methods = { } for name , member in instance_members : if not name . startswith ( '_' ) : if inspect . ismethod ( member ) : instance_methods [ name ] = member return instance_methods