def _append_trailing_slash(s):  # pylint: disable=invalid-name
    """
    Return ``s`` with a trailing ``"/"`` appended.

    If ``s`` already ends with a trailing ``"/"`` it'll be returned unmodified.
    """
    if not s.endswith("/"):
        s = s + "/"
    return s