def METHOD_NAME(
    METHOD_NAME: str,
    tag: 'bs4.Tag',
    namespaces: dict[str, str] | None = None,
    limit: int = 0,
    flags: int = 0,
    *,
    custom: dict[str, str] | None = None,
    **kwargs: Any
) -> list['bs4.Tag']:
    """Select the specified tags."""
    return compile(METHOD_NAME, namespaces, flags, **kwargs).METHOD_NAME(tag, limit)