Skip to content

Code C API docs should be strong reference not new reference #97980

Closed as not planned
@Fidget-Spinner

Description

@Fidget-Spinner

These new functions were added in 3.11.

In 3.10 and earlier, accessing the attributes via Python these functions would return a strong reference that was shared, not a brand new reference. So we should relax the terminology and just say strong reference in the docs (to also allow further optimisations in the future).

Continuing from #94936.

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