Skip to content

Misleading gc docs #142115

@bobzinin

Description

@bobzinin

Documentation

According to gc documentation Python 3.14 and beyond has only 2 generations:
Changed in version 3.14: Generation 1 is removed

However, in gc.set_threshold() we ignore the threshold2:
Changed in version 3.14: threshold2 is ignored

Wouldn't it be clearer to connect the threshold and generation numbers?(And maybe rewrite the set_threshold function, if we have only two generations)

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirpendingThe issue will be closed if no feedback is provided

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions