We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
weakref.ref
weakref_slot
dataclasses
1 parent 88210c2 commit c3ed775Copy full SHA for c3ed775
Doc/library/dataclasses.rst
@@ -215,7 +215,8 @@ Module contents
215
216
- *weakref_slot*: If true (the default is ``False``), add a slot
217
named "__weakref__", which is required to make an instance
218
- weakref-able. It is an error to specify ``weakref_slot=True``
+ :func:`weakref-able <weakref.ref>`.
219
+ It is an error to specify ``weakref_slot=True``
220
without also specifying ``slots=True``.
221
222
.. versionadded:: 3.11
0 commit comments