Skip to content

set/frozenset methods intermixed in search, wrong results and target page anchor #113746

Description

@tuttle

Searching for update shows these results:

https://docs.python.org/3.13/search.html?q=update

The search result list includes frozenset.update, which is false: frozenset does not have such method.

I guess this is due to the fact that on the target page https://docs.python.org/3.13/library/stdtypes.html#frozenset.update, set and frozenset are explained together, but the search indexer doesn't catch it.

#frozenset.update is even the working page anchor, while #set.update is not. More confusion.

Further, I'm guessing that this will be happening with more class groups documented together.

Linked PRs

Activity

  1. added
    docsDocumentation in the Doc dir
    on Jan 5, 2024
  2. vaishnavi192 commented on Jan 6, 2024

    @vaishnavi192
    Contributor

    hey @tuttle I would like to work on it. In which file I have to make changes?

  3. tuttle commented on Jan 6, 2024

    @tuttle
    Author

    Thanks! Anyway, I don't know, I'm sorry. :-)
    Just reporting what I found out.
    In my opinion, first you need to decide whether to modify either the search indexer or the source documentation.

  4. skirpichev commented on Mar 4, 2025

    @skirpichev
    Member

    See also #114336

  5. self-assigned this
    on Apr 19, 2025
  6. removed their assignment
    on Jun 1, 2025
  7. StanFromIreland commented on Apr 3, 2026

    @StanFromIreland
    Member

    Fixed in 1d8f3ed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions