Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve weakref_slot docs in dataclasses.rst #123570

@sobolevn

Description

@sobolevn

While merging #123342 I've noticed that we can improve weakref_slot docs. Here's how it looks now:
Снимок экрана 2024-09-01 в 13 53 28

I think that we can add a link to weakref.ref under "weakref-able" term. Like this:
Снимок экрана 2024-09-01 в 13 55 34

Right now dataclass.rst does not have a single link to weakref.rst. This change will make it easier for users to navigate to this term, which not all people are familiar with.

Linked PRs

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions