def _handle_no_editor():
    """
    Handles the case where a user has requested to edit a file the custom
    examples for a command but we haven't been able to resolve a command to
    open an editor.
    """
    print(
        'could not find editor: set $VISUAL, $EDITOR, or specify in .egrc'
    )

    Handles the case where a user has requested to edit a file the custom
    examples for a command but we haven't been able to resolve a command to
    open an editor.
    
eg/core.py